Code Duplication    Length = 8-9 lines in 2 locations

Tests/Unit/Commands/BeerCommandTest.php 1 location

@@ 27-35 (lines=9) @@
24
    /**
25
     *
26
     */
27
    public function tearDown()
28
    {
29
        DriverManager::getConnection($GLOBALS['config']['db'], new Configuration())
30
            ->delete('beers', [
31
                'to_user' => 'U23456',
32
                'from_user' => 'U12345',
33
            ]);
34
        parent::tearDown();
35
    }
36
37
    /**
38
     * @test

Tests/Unit/Commands/TellCommandTest.php 1 location

@@ 30-37 (lines=8) @@
27
    /**
28
     *
29
     */
30
    public function tearDown()
31
    {
32
        DriverManager::getConnection($GLOBALS['config']['db'], new Configuration())
33
            ->delete('notifications', [
34
                'to_user' => 'U12345'
35
            ]);
36
        parent::tearDown();
37
    }
38
39
    /**
40
     * @return array