Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 4a46217

Browse files
committed
debug travis failure
1 parent c8b9ebf commit 4a46217

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_script:
99
- php -r "copy('.env.example', '.env');"
1010
- php artisan key:generate
1111
script:
12-
- vendor/bin/phpunit --coverage-clover=coverage.clover
12+
- vendor/bin/phpunit --filter test_it_responds_unauthenticated_for_list_users
1313
after_script:
1414
- wget https://scrutinizer-ci.com/ocular.phar
1515
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

tests/Feature/Users/UsersEndpointsTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ function setUp()
2222
function test_it_responds_unauthenticated_for_list_users()
2323
{
2424
$response = $this->json('GET','api/users');
25+
dd(json_decode($response->getContent()));
2526
$response->assertStatus(401);
2627
$response->assertJson([
2728
'message' => 'Unauthenticated.',

0 commit comments

Comments
 (0)