]> BookStack Code Mirror - bookstack/commitdiff
Applied StyleCI changes
authorDan Brown <redacted>
Sat, 25 Jun 2022 13:27:32 +0000 (14:27 +0100)
committerDan Brown <redacted>
Sat, 25 Jun 2022 13:27:32 +0000 (14:27 +0100)
tests/Entity/BookTest.php

index 285769b73d9cfcb5eb4c578b97157a8e265ed101..6b3c6aa388534e1d84fce61efdb04568efc8f56d 100644 (file)
@@ -54,17 +54,17 @@ class BookTest extends TestCase
     {
         // Cheeky initial update to refresh slug
         $this->asEditor()->post('books', [
-            'name' => 'My book with tags',
+            'name'        => 'My book with tags',
             'description' => 'A book with tags',
-            'tags' => [
+            'tags'        => [
                 [
-                    'name' => 'Category',
+                    'name'  => 'Category',
                     'value' => 'Donkey Content',
                 ],
                 [
-                    'name' => 'Level',
+                    'name'  => 'Level',
                     'value' => '5',
-                ]
+                ],
             ],
         ]);
 
@@ -113,13 +113,13 @@ class BookTest extends TestCase
             'name' => $book->name,
             'tags' => [
                 [
-                    'name' => 'Category',
+                    'name'  => 'Category',
                     'value' => 'Dolphin Content',
                 ],
                 [
-                    'name' => 'Level',
+                    'name'  => 'Level',
                     'value' => '5',
-                ]
+                ],
             ],
         ]);
 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.