@@ -14,19 +14,19 @@ public function it_is_not_storing_notifications_to_database_if_it_is_disabled()
14
14
{
15
15
$ this ->artisan ('database-notifications-disabled-command ' );
16
16
17
- $ this ->dontSeeDatabaseTable ('iclogger_notifications ' );
17
+ $ this ->assertDatabaseMissingTable ('iclogger_notifications ' );
18
18
}
19
19
20
20
/** @test */
21
21
public function it_stores_notifications_to_database_if_it_is_enabled_and_also_according_to_notifications_level ()
22
22
{
23
23
$ this ->artisan ('database-notifications-command ' );
24
24
25
- $ this ->dontSeeInDatabaseMany ('iclogger_notifications ' , [
25
+ $ this ->assertDatabaseMissingMany ('iclogger_notifications ' , [
26
26
['level ' => Logger::DEBUG ],
27
27
['level ' => Logger::INFO ],
28
28
]);
29
- $ this ->seeInDatabaseMany ('iclogger_notifications ' , [
29
+ $ this ->assertDatabaseHasMany ('iclogger_notifications ' , [
30
30
[
31
31
'level ' => Logger::NOTICE ,
32
32
'level_name ' => Logger::getLevelName (Logger::NOTICE ),
@@ -79,11 +79,11 @@ public function it_provides_an_ability_to_use_custom_database_table_and_callback
79
79
80
80
$ this ->artisan ('database-notifications-callback-command ' );
81
81
82
- $ this ->dontSeeInDatabaseMany ('custom_notifications ' , [
82
+ $ this ->assertDatabaseMissingMany ('custom_notifications ' , [
83
83
['level ' => Logger::DEBUG ],
84
84
['level ' => Logger::INFO ],
85
85
]);
86
- $ this ->seeInDatabaseMany ('custom_notifications ' , [
86
+ $ this ->assertDatabaseHasMany ('custom_notifications ' , [
87
87
[
88
88
'level ' => Logger::NOTICE ,
89
89
'level_name ' => Logger::getLevelName (Logger::NOTICE ),
0 commit comments