Skip to content

Commit 95da317

Browse files
committed
fix test
1 parent 5cfff26 commit 95da317

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/Api/SiteControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ public function testRegisteringASiteTwiceCreatesOnlyOneRow(): void
8484

8585
$this->postJson(
8686
'/api/v1/register',
87-
["url" => "https://www.joomla.org", "key" => "abcdef"]
87+
["url" => "https://www.joomla.org", "key" => "abcdefabcdefabcdefabcdefabcdefabcdef"]
8888
);
8989

9090
$rows = Site::where('url', 'https://www.joomla.org')->get();
9191
$this->assertEquals(1, $rows->count());
92-
$this->assertEquals('abcdef', $rows->first()->key);
92+
$this->assertEquals('abcdefabcdefabcdefabcdefabcdefabcdef', $rows->first()->key);
9393
}
9494

9595
public function testRegisteringASiteFailsWhenHealthCheckFails(): void

0 commit comments

Comments
 (0)