1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Applied latest StyleCI changes

This commit is contained in:
Dan Brown
2021-12-20 17:40:27 +00:00
parent 21f2a7087c
commit fc109f7e1c
5 changed files with 7 additions and 8 deletions

View File

@ -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,
]);