File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 100100 $ threadFromToday = createThreadFromToday ();
101101 $ threadFromTwoDaysAgo = createThreadFromTwoDaysAgo ();
102102
103- $ threads = Thread::feed ();
103+ $ threads = Thread::feedQuery ()-> limit ( 10 )-> get ();
104104
105105 $ this ->assertTrue ($ threadFromToday ->is ($ threads ->first ()), 'First thread is incorrect ' );
106106 $ this ->assertTrue ($ threadUpdatedYesterday ->is ($ threads ->slice (1 )->first ()), 'Second thread is incorrect ' );
111111 createThreadFromToday ();
112112 $ resolvedThread = createResolvedThread ();
113113
114- $ threads = Thread::feedQuery ()-> resolved ()->get ();
114+ $ threads = Thread::resolved ()->get ();
115115
116116 expect ($ threads )->toHaveCount (1 );
117117 expect ($ resolvedThread ->is ($ threads ->first ()))->toBeTrue ();
You can’t perform that action at this time.
0 commit comments