@@ -81,23 +81,6 @@ public function it_provides_automatic_file_rotation_and_only_30_latest_files_are
8181 $ this ->assertCount (30 , File::files ($ path ));
8282 }
8383
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-
10184 /** @test */
10285 public function it_supports_separator_in_psr3_methods_which_is_transformed_to_11_blank_lines ()
10386 {
@@ -109,23 +92,6 @@ public function it_supports_separator_in_psr3_methods_which_is_transformed_to_11
10992 ]);
11093 }
11194
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-
12995 private function createBunchOfOldLogsInCount45 ($ path )
13096 {
13197 if (!File::isDirectory ($ path )) {
0 commit comments