File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function test_create_limit_command_creates_limit_without_plan(): void
19
19
$ this ->artisan ('limit:create ' , $ data )->assertSuccessful ();
20
20
21
21
$ this ->assertDatabaseCount (app (Limit::class), 1 );
22
- $ this ->assertDatabaseHas (app (Limit::class ), $ data );
22
+ $ this ->assertDatabaseHas (config ( ' limit.tables.limits ' ), $ data );
23
23
}
24
24
25
25
public function test_create_limit_command_creates_limit_with_plan (): void
@@ -33,7 +33,7 @@ public function test_create_limit_command_creates_limit_with_plan(): void
33
33
$ this ->artisan ('limit:create ' , $ data )->assertSuccessful ();
34
34
35
35
$ this ->assertDatabaseCount (app (Limit::class), 1 );
36
- $ this ->assertDatabaseHas (app (Limit::class ), $ data );
36
+ $ this ->assertDatabaseHas (config ( ' limit.tables.limits ' ), $ data );
37
37
}
38
38
39
39
public function test_delete_limit_command_did_not_found_limits_to_delete (): void
You can’t perform that action at this time.
0 commit comments