X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/58fa7679bccafd00f9a50bcd4a87e96876331b03..refs/pull/2902/head:/tests/FooterLinksTest.php diff --git a/tests/FooterLinksTest.php b/tests/FooterLinksTest.php index f0ff0c40d..cb2959411 100644 --- a/tests/FooterLinksTest.php +++ b/tests/FooterLinksTest.php @@ -4,10 +4,9 @@ use Tests\TestCase; class FooterLinksTest extends TestCase { - public function test_saving_setting() { - $resp = $this->asAdmin()->post("/settings", [ + $resp = $this->asAdmin()->post('/settings', [ 'setting-app-footer-links' => [ ['label' => 'My custom link 1', 'url' => 'https://example.com/1'], ['label' => 'My custom link 2', 'url' => 'https://example.com/2'], @@ -58,4 +57,4 @@ class FooterLinksTest extends TestCase $resp->assertElementContains('footer a[href="https://example.com/privacy"]', 'Privacy Policy'); $resp->assertElementContains('footer a[href="https://example.com/terms"]', 'Terms of Service'); } -} \ No newline at end of file +}