File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 37
37
}
38
38
},
39
39
"suggest" : {
40
- "jasonmccreary/laravel-test-assertions" : " A set of helpful assertions when testing Laravel applications "
40
+ "jasonmccreary/laravel-test-assertions" : " Required to use additional assertions in generated tests (^1.0). "
41
41
}
42
42
}
Original file line number Diff line number Diff line change @@ -463,8 +463,8 @@ private function addFakerTrait(Controller $controller)
463
463
464
464
private function addTestAssertionsTrait (Controller $ controller )
465
465
{
466
- $ this ->addImport ($ controller , 'JMac \\Testing \\Traits\HttpTestAssertions ' );
467
- $ this ->addTrait ($ controller , 'HttpTestAssertions ' );
466
+ $ this ->addImport ($ controller , 'JMac \\Testing \\Traits\AdditionalAssertions ' );
467
+ $ this ->addTrait ($ controller , 'AdditionalAssertions ' );
468
468
}
469
469
470
470
private function addRefreshDatabaseTrait (Controller $ controller )
Original file line number Diff line number Diff line change 11
11
use Illuminate \Support \Facades \Event ;
12
12
use Illuminate \Support \Facades \Mail ;
13
13
use Illuminate \Support \Facades \Queue ;
14
- use JMac \Testing \Traits \HttpTestAssertions ;
14
+ use JMac \Testing \Traits \AdditionalAssertions ;
15
15
use Tests \TestCase ;
16
16
17
17
/**
18
18
* @see \App\Http\Controllers\PostController
19
19
*/
20
20
class PostControllerTest extends TestCase
21
21
{
22
- use HttpTestAssertions , RefreshDatabase, WithFaker;
22
+ use AdditionalAssertions , RefreshDatabase, WithFaker;
23
23
24
24
/**
25
25
* @test
Original file line number Diff line number Diff line change 5
5
use App \User ;
6
6
use Illuminate \Foundation \Testing \RefreshDatabase ;
7
7
use Illuminate \Foundation \Testing \WithFaker ;
8
- use JMac \Testing \Traits \HttpTestAssertions ;
8
+ use JMac \Testing \Traits \AdditionalAssertions ;
9
9
use Tests \TestCase ;
10
10
11
11
/**
12
12
* @see \App\Http\Controllers\UserController
13
13
*/
14
14
class UserControllerTest extends TestCase
15
15
{
16
- use HttpTestAssertions , RefreshDatabase, WithFaker;
16
+ use AdditionalAssertions , RefreshDatabase, WithFaker;
17
17
18
18
/**
19
19
* @test
You can’t perform that action at this time.
0 commit comments