You are here

protected function SqlRedirectNotFoundStorageTest::setUp in Redirect 8

Overrides UnitTestCase::setUp

File

modules/redirect_404/tests/src/Unit/SqlRedirectNotFoundStorageTest.php, line 34

Class

SqlRedirectNotFoundStorageTest
Tests that overly long paths aren't logged.

Namespace

Drupal\Tests\redirect_404\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->database = $this
    ->getMockBuilder(Connection::class)
    ->disableOriginalConstructor()
    ->getMock();
}