X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/21f2a7087c7ef1af1e30e1997bce77cc64ede76e..refs/pull/3387/head:/tests/Entity/ChapterTest.php diff --git a/tests/Entity/ChapterTest.php b/tests/Entity/ChapterTest.php index 1d28ec839..f099ca2bb 100644 --- a/tests/Entity/ChapterTest.php +++ b/tests/Entity/ChapterTest.php @@ -74,7 +74,7 @@ class ChapterTest extends TestCase $resp->assertOk(); $resp->assertSee('Copy Chapter'); $resp->assertElementExists("input[name=\"name\"][value=\"{$chapter->name}\"]"); - $resp->assertElementExists("input[name=\"entity_selection\"]"); + $resp->assertElementExists('input[name="entity_selection"]'); } public function test_copy() @@ -85,7 +85,7 @@ class ChapterTest extends TestCase $otherBook = Book::query()->where('id', '!=', $chapter->book_id)->first(); $resp = $this->asEditor()->post($chapter->getUrl('/copy'), [ - 'name' => 'My copied chapter', + 'name' => 'My copied chapter', 'entity_selection' => 'book:' . $otherBook->id, ]);