refactoring
This commit is contained in:
7
tests/Feature/ExampleTest.php
Normal file
7
tests/Feature/ExampleTest.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
it('returns a successful response', function () {
|
||||
$response = $this->get('/api/health');
|
||||
|
||||
$response->assertStatus(200);
|
||||
});
|
||||
5
tests/Unit/ExampleTest.php
Normal file
5
tests/Unit/ExampleTest.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
test('that true is true', function () {
|
||||
expect(true)->toBeTrue();
|
||||
});
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
test('globals')
|
||||
->expect(['dd', 'dump', 'ray'])
|
||||
->expect(['dd', 'dump'])
|
||||
->not->toBeUsed();
|
||||
|
||||
Reference in New Issue
Block a user