Code Duplication    Length = 7-7 lines in 2 locations

tests/Command/Object/ExtensionsCommandTest.php 1 location

@@ 26-32 (lines=7) @@
23
     *
24
     * @covers ::execute
25
     */
26
    public function testExecute()
27
    {
28
        $tester = $this->executeTest(['object' => Member::class]);
29
        $output = $tester->getDisplay();
30
        $this->assertContains(AssetControlExtension::class, $output);
31
        $this->assertContains('silverstripe/assets', $output);
32
    }
33
34
    /**
35
     * Ensure that the InputArgument for the object is added

tests/Command/Object/LookupCommandTest.php 1 location

@@ 34-40 (lines=7) @@
31
        $this->assertContains(Logger::class, $output);
32
    }
33
34
    public function testExecuteWithSilverStripeClass()
35
    {
36
        $tester = $this->executeTest(['className' => DataObject::class]);
37
        $output = $tester->getDisplay();
38
        $this->assertContains(DataObject::class, $output);
39
        $this->assertContains('silverstripe/framework', $output);
40
    }
41
42
    /**
43
     * Ensure that the InputArgument for the object is added