use the right link

This commit is contained in:
Shish
2020-10-28 20:53:20 +00:00
parent 3f5930b4cb
commit b9e1ce1b8d
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ class UploadTest extends ShimmiePHPUnitTestCase
];
$page = $this->post_page("upload", ["tags0"=>"foo bar"]);
$this->assert_response(302);
$this->assertStringStartsWith("/test/post/list/uploaded_by=test/1", $page->redirect);
$this->assertStringStartsWith("/test/post/list/poster=test/1", $page->redirect);
$this->assertEquals(4, $database->get_one("SELECT COUNT(*) FROM images"));
}