We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d198bd6 commit 6b8c784Copy full SHA for 6b8c784
README.md
@@ -54,14 +54,16 @@ Laravel-specific Testing Helpers and Assertions.
54
3. Use any of the provided helpers and assertions in your tests:
55
56
```php
57
- class ExampleCommandTest extends TestCase
+ class ExampleTest extends TestCase
58
{
59
/** @test */
60
- public function it_logs_hello_world()
+ public function it_has_lots_of_useful_assertions()
61
62
- $this->artisan('example');
63
-
64
- $this->seeInLogFile('example.log', 'Hello World!');
+ $this->assertDatabaseHasMany('posts', [
+ ['title' => 'Awesome!'],
+ ['title' => 'Multiple rows check'],
65
+ ['title' => 'Can be done in one assertion'],
66
+ ]);
67
}
68
69
```
0 commit comments