File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ public function test_view_ideas_lists()
75
75
76
76
// Test my ideas list is empty when logged out
77
77
$ 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 ('#page-header ' )->text ());
79
79
$ this ->assertContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('h2 ' )->text ());
80
80
$ this ->assertContainsLang ('NO_IDEAS_DISPLAY ' , $ crawler ->filter ('.topiclist.forums ' )->text ());
81
81
82
82
// Test my ideas list works when logged in
83
83
$ this ->login ();
84
84
$ 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 ('#username_logged_in ' )->text ());
86
86
$ this ->assertContainsLang ('LIST_EGOSEARCH ' , $ crawler ->filter ('h2 ' )->text ());
87
87
$ this ->assertNotContainsLang ('NO_IDEAS_DISPLAY ' , $ crawler ->filter ('.topiclist.forums ' )->text ());
88
88
}
You can’t perform that action at this time.
0 commit comments