@@ -81,23 +81,6 @@ public function it_provides_automatic_file_rotation_and_only_30_latest_files_are
81
81
$ this ->assertCount (30 , File::files ($ path ));
82
82
}
83
83
84
- /** @test */
85
- public function it_supports_psr3_methods_for_logging ()
86
- {
87
- Artisan::call ('generic ' );
88
-
89
- $ this ->assertLogFileContains ("generic/ {$ this ->date }.log " , [
90
- '[%datetime%]: [DEBUG]: Debug! ' ,
91
- '[%datetime%]: [INFO]: Info! ' ,
92
- '[%datetime%]: [NOTICE]: Notice! ' ,
93
- '[%datetime%]: [WARNING]: Warning! ' ,
94
- '[%datetime%]: [ERROR]: Error! ' ,
95
- '[%datetime%]: [CRITICAL]: Critical! ' ,
96
- '[%datetime%]: [ALERT]: Alert! ' ,
97
- '[%datetime%]: [EMERGENCY]: Emergency! ' ,
98
- ]);
99
- }
100
-
101
84
/** @test */
102
85
public function it_supports_separator_in_psr3_methods_which_is_transformed_to_11_blank_lines ()
103
86
{
@@ -109,23 +92,6 @@ public function it_supports_separator_in_psr3_methods_which_is_transformed_to_11
109
92
]);
110
93
}
111
94
112
- /** @test */
113
- public function it_supports_context_for_psr3_methods_which_is_transformed_to_readable_dump ()
114
- {
115
- Artisan::call ('command-with-context-logging ' );
116
-
117
- $ this ->assertLogFileContains ("command-with-context-logging/ {$ this ->date }.log " , [
118
- 'Testing context! ' ,
119
- 'Some log with data. ' ,
120
- get_dump ([
121
- 'foo ' => 'bar ' ,
122
- 'baz ' => 111 ,
123
- 'faz ' => true ,
124
- 3 => null ,
125
- ]),
126
- ]);
127
- }
128
-
129
95
private function createBunchOfOldLogsInCount45 ($ path )
130
96
{
131
97
if (!File::isDirectory ($ path )) {
0 commit comments