Code Duplication    Length = 7-7 lines in 2 locations

tests/N98/Magento/Command/Customer/Token/CreateCommandTest.php 1 location

@@ 52-58 (lines=7) @@
49
    /**
50
     * @return string
51
     */
52
    private function getWebsiteCode()
53
    {
54
        $storeManager = $this->getApplication()->getObjectManager()->get(StoreManagerInterface::class);
55
        $website = $storeManager->getWebsite('base');
56
57
        return $website->getCode();
58
    }
59
}
60

tests/N98/Magento/Command/Customer/CreateCommandTest.php 1 location

@@ 65-71 (lines=7) @@
62
    /**
63
     * @return string
64
     */
65
    private function getWebsiteCode()
66
    {
67
        $storeManager = $this->getApplication()->getObjectManager()->get(StoreManagerInterface::class);
68
        $website = $storeManager->getWebsite('base');
69
70
        return $website->getCode();
71
    }
72
73
    public function testWithWrongPassword()
74
    {