File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ public function test_command_updates_page_revisions()
102
102
setting ()->flushCache ();
103
103
104
104
$ this ->assertDatabaseHas ('page_revisions ' , [
105
+ 'page_id ' => $ page ->id ,
105
106
'markdown ' => '[A link 1](https://cats.example.com/donkey/cat) ' ,
106
107
'html ' => '<p id="bkmrk-a-link-1"><a href="https://cats.example.com/donkey/cat">A link 1</a></p> ' . "\n"
107
108
]);
Original file line number Diff line number Diff line change @@ -393,11 +393,11 @@ public function test_sibling_search_for_books_provides_results_in_alphabetical_o
393
393
$ search = $ this ->actingAs ($ this ->users ->viewer ())->get ("/search/entity/siblings?entity_id= {$ contextBook ->id }&entity_type=book " );
394
394
$ this ->withHtml ($ search )->assertElementNotContains ('a:first-child ' , 'Zebras ' );
395
395
396
- $ searchBook ->name = 'AAAAAAArdvarks ' ;
396
+ $ searchBook ->name = '1AAAAAAArdvarks ' ;
397
397
$ searchBook ->save ();
398
398
399
399
$ search = $ this ->actingAs ($ this ->users ->viewer ())->get ("/search/entity/siblings?entity_id= {$ contextBook ->id }&entity_type=book " );
400
- $ this ->withHtml ($ search )->assertElementContains ('a:first-child ' , 'AAAAAAArdvarks ' );
400
+ $ this ->withHtml ($ search )->assertElementContains ('a:first-child ' , '1AAAAAAArdvarks ' );
401
401
}
402
402
403
403
public function test_sibling_search_for_shelves_provides_results_in_alphabetical_order ()
@@ -411,11 +411,11 @@ public function test_sibling_search_for_shelves_provides_results_in_alphabetical
411
411
$ search = $ this ->actingAs ($ this ->users ->viewer ())->get ("/search/entity/siblings?entity_id= {$ contextShelf ->id }&entity_type=bookshelf " );
412
412
$ this ->withHtml ($ search )->assertElementNotContains ('a:first-child ' , 'Zebras ' );
413
413
414
- $ searchShelf ->name = 'AAAAAAArdvarks ' ;
414
+ $ searchShelf ->name = '1AAAAAAArdvarks ' ;
415
415
$ searchShelf ->save ();
416
416
417
417
$ search = $ this ->actingAs ($ this ->users ->viewer ())->get ("/search/entity/siblings?entity_id= {$ contextShelf ->id }&entity_type=bookshelf " );
418
- $ this ->withHtml ($ search )->assertElementContains ('a:first-child ' , 'AAAAAAArdvarks ' );
418
+ $ this ->withHtml ($ search )->assertElementContains ('a:first-child ' , '1AAAAAAArdvarks ' );
419
419
}
420
420
421
421
public function test_search_works_on_updated_page_content ()
You can’t perform that action at this time.
0 commit comments