Skip to content

Commit 3e63a91

Browse files
committed
fix tests
1 parent d6d36b4 commit 3e63a91

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
@@ -123,7 +123,7 @@ public function testCheckingASiteReturns404ForInvalidSite(): void
123123
["url" => "https://www.joomlaf.org", "key" => "foobar123foobar123foobar123foobar123"]
124124
);
125125

126-
$response->assertStatus(404);
126+
$response->assertStatus(422);
127127
}
128128

129129
public function testDeleteASiteReturns404ForInvalidSite(): void
@@ -133,7 +133,7 @@ public function testDeleteASiteReturns404ForInvalidSite(): void
133133
["url" => "https://www.joomlaf.org", "key" => "foobar123foobar123foobar123foobar123"]
134134
);
135135

136-
$response->assertStatus(404);
136+
$response->assertStatus(422);
137137
}
138138

139139
public function testDeleteASiteRemovesRow(): void

0 commit comments

Comments
 (0)