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 100
100
$ threadFromToday = createThreadFromToday ();
101
101
$ threadFromTwoDaysAgo = createThreadFromTwoDaysAgo ();
102
102
103
- $ threads = Thread::feed ();
103
+ $ threads = Thread::feedQuery ()-> limit ( 10 )-> get ();
104
104
105
105
$ this ->assertTrue ($ threadFromToday ->is ($ threads ->first ()), 'First thread is incorrect ' );
106
106
$ this ->assertTrue ($ threadUpdatedYesterday ->is ($ threads ->slice (1 )->first ()), 'Second thread is incorrect ' );
111
111
createThreadFromToday ();
112
112
$ resolvedThread = createResolvedThread ();
113
113
114
- $ threads = Thread::feedQuery ()-> resolved ()->get ();
114
+ $ threads = Thread::resolved ()->get ();
115
115
116
116
expect ($ threads )->toHaveCount (1 );
117
117
expect ($ resolvedThread ->is ($ threads ->first ()))->toBeTrue ();
You can’t perform that action at this time.
0 commit comments