]> BookStack Code Mirror - bookstack/blobdiff - tests/FooterLinksTest.php
Fixes for CodeStyle vol.2
[bookstack] / tests / FooterLinksTest.php
index f0ff0c40da5b946e617c174c5740559962228db7..cb2959411cf49be89ef99a104bf781799e6a3cb7 100644 (file)
@@ -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
+}