Powiadomienia
Wyczyść wszystko
BugOverflow
1
Wpisy
1
Użytkownicy
0
Reactions
1,106
Widoki
0
01/09/2020 3:06 pm
Rozpoczynający temat
cant assert string
1 odpowiedź
0
01/09/2020 3:07 pm
Rozpoczynający temat
maybe temp workaround?
$response = $this->json('GET', '/data/ajax/search', ['term' => 'my_term']); $text = print_r(json_decode($response->getContent()),true); $this->assertStringContainsString('neeedle search',$text);