File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
domains/Discussions/Tests/Feature Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -104,10 +104,10 @@ public function it_searchable_by_author(): void
104
104
/** @test */
105
105
public function it_searchable_by_title (): void
106
106
{
107
- QuestionFactory::new (['title ' => 'LARAVEL-PT ' .Carbon:: now ()-> toString () ])->create ();
108
- QuestionFactory::new (['title ' => 'LARAVEL-PT ' .Carbon:: now ()-> toString () ])->create ();
107
+ QuestionFactory::new (['title ' => 'LARAVEL-PT ' ])->create ();
108
+ QuestionFactory::new (['title ' => 'laravel-pt ' ])->create ();
109
109
110
- $ response = $ this ->get (route ('discussions.questions.index ' , ['title ' => 'LARAVEL-PT ' ]));
110
+ $ response = $ this ->get (route ('discussions.questions.index ' , ['title ' => 'LArAvEL-pt ' ]));
111
111
112
112
$ this ->assertEquals (2 , $ response ->decodedJsonResponse ()['meta ' ]['total ' ]);
113
113
}
You can’t perform that action at this time.
0 commit comments