fix gitlab tests
This commit is contained in:
@@ -53,7 +53,7 @@ class PublicWinnersControllerTest extends TestCase
|
||||
'published_at' => now(),
|
||||
]);
|
||||
|
||||
$this->getJson('/api/winners/competitions/'.$competition->id)
|
||||
$this->getJson('/api/winners/competitions/' . $competition->id)
|
||||
->assertOk()
|
||||
->assertJsonPath('status', true)
|
||||
->assertJsonPath('data.competition.id', $competition->id)
|
||||
@@ -75,7 +75,7 @@ class PublicWinnersControllerTest extends TestCase
|
||||
'is_published' => 0,
|
||||
]);
|
||||
|
||||
$this->getJson('/api/winners/competitions/'.$competition->id)
|
||||
$this->getJson('/api/winners/competitions/' . $competition->id)
|
||||
->assertNotFound()
|
||||
->assertJsonPath('status', false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user