Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

setUp() must be compatible with IlluminateFoundationTestingTestCase::setUp()

//Attention to :void
protected function setUp(): void
    {
        $this->markTestSkipped(
            'This test will be skipped when you run `php-unit`.'
        );
    }
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #compatible
ADD COMMENT
Topic
Name
7+1 =