Skip to content

Commit fd0f8a4

Browse files
committed
update the assertion call to use valid route
1 parent 16c8b67 commit fd0f8a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Routes/Wiki/PublicWikiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function testReusePrototype() {
326326
->assertJsonPath('data.2.domain', 'no-profile.wikibase.cloud')
327327
->assertJsonPath('data.2.reuse_prototype', false);
328328

329-
$this->json('GET', 'reusePrototype/' . $reusableWiki->id)
329+
$this->json('GET', $this->route . '/' . $reusableWiki->id)
330330
->assertStatus(200)
331331
->assertJsonPath('data.reuse_prototype', true);
332332
}

0 commit comments

Comments
 (0)