File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ public function test_view_ideas_lists()
7575
7676 // Test my ideas list is empty when logged out
7777 $ crawler = self ::request ('GET ' , "app.php/ideas/list/egosearch?status=-1&sid= $ this ->sid " );
78- $ this ->assertNotContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('#quick-links ' )->text ());
78+ $ this ->assertNotContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('#nav-main ' )->text ());
7979 $ this ->assertContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('h2 ' )->text ());
8080 $ this ->assertContainsLang ('NO_IDEAS_DISPLAY ' , $ crawler ->filter ('.topiclist.forums ' )->text ());
8181
8282 // Test my ideas list works when logged in
8383 $ this ->login ();
8484 $ crawler = self ::request ('GET ' , "app.php/ideas/list/egosearch?status=-1&sid= $ this ->sid " );
85- $ this ->assertContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('#quick-links ' )->text ());
85+ $ this ->assertContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('#nav-main ' )->text ());
8686 $ this ->assertContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('h2 ' )->text ());
8787 $ this ->assertNotContainsLang ('NO_IDEAS_DISPLAY ' , $ crawler ->filter ('.topiclist.forums ' )->text ());
8888 }
You can’t perform that action at this time.
0 commit comments