File tree Expand file tree Collapse file tree 7 files changed +3
-20
lines changed Expand file tree Collapse file tree 7 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 11<?php
22
33use Carbon \Carbon ;
4- use Illuminated \Testing \Asserts \LogFileAsserts ;
5- use Illuminated \Testing \InteractsWithConsole ;
64
75class FileChannelTest extends TestCase
86{
9- use InteractsWithConsole;
10- use LogFileAsserts;
11-
127 /** @test */
138 public function it_creates_log_file_according_to_the_command_name_and_current_date ()
149 {
Original file line number Diff line number Diff line change 22
33use Illuminate \Database \Schema \Blueprint ;
44use Illuminate \Support \Facades \Schema ;
5- use Illuminated \Testing \Asserts \DatabaseAsserts ;
65use Monolog \Logger ;
76
87class DatabaseChannelTest extends TestCase
98{
10- use DatabaseAsserts;
11-
129 /** @test */
1310 public function it_is_not_storing_notifications_to_database_if_it_is_disabled ()
1411 {
Original file line number Diff line number Diff line change 11<?php
22
33use Illuminated \Console \Loggable \Notifications \EmailChannel \MonologHtmlFormatter ;
4- use Illuminated \Testing \InteractsWithConsole ;
54use Monolog \Handler \DeduplicationHandler ;
65use Monolog \Handler \MandrillHandler ;
76use Monolog \Handler \NativeMailerHandler ;
109
1110class EmailChannelTest extends TestCase
1211{
13- use InteractsWithConsole;
14-
1512 /** @test */
1613 public function it_validates_and_filters_notification_recipients ()
1714 {
Original file line number Diff line number Diff line change 11<?php
22
33use Illuminated \Console \Loggable \Notifications \EmailChannel \MonologHtmlFormatter ;
4- use Illuminated \Testing \EmulatesEnvironment ;
54use Monolog \Logger ;
65
76class MonologHtmlFormatterTest extends TestCase
87{
9- use EmulatesEnvironment;
10-
118 /** @test */
129 public function it_properly_formats_debug_records ()
1310 {
Original file line number Diff line number Diff line change 11<?php
22
33use Illuminated \Console \Exceptions \ExceptionHandler ;
4- use Illuminated \Testing \Asserts \LogFileAsserts ;
54use Monolog \Handler \RotatingFileHandler ;
65use Psr \Log \LoggerInterface ;
76
87class LoggableTraitOnMysqlTest extends TestCase
98{
10- use LogFileAsserts;
11-
129 protected function setUpDatabase ()
1310 {
1411 config ([
Original file line number Diff line number Diff line change 11<?php
22
33use Illuminated \Console \Exceptions \ExceptionHandler ;
4- use Illuminated \Testing \Asserts \LogFileAsserts ;
54use Monolog \Handler \RotatingFileHandler ;
65use Psr \Log \LoggerInterface ;
76
87class LoggableTraitTest extends TestCase
98{
10- use LogFileAsserts;
11-
129 /** @test */
1310 public function it_writes_to_log_file_information_header_each_iteration ()
1411 {
Original file line number Diff line number Diff line change 11<?php
22
33use Illuminate \Contracts \Console \Kernel as KernelContract ;
4+ use Illuminated \Testing \TestingTools ;
45use Symfony \Component \Finder \Finder ;
56
67abstract class TestCase extends \Orchestra \Testbench \TestCase
78{
9+ use TestingTools;
10+
811 protected $ date ;
912
1013 protected function setUp ()
You can’t perform that action at this time.
0 commit comments