for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace N98\Magento\Command\Eav\Attribute;
use N98\Magento\Command\TestCase;
class ListCommandTest extends TestCase
{
public function testExecute()
$this->assertDisplayRegExp(
[
'command' => 'eav:attribute:list',
'--add-source' => true,
],
'~\\| code.*\\| id.*\\| entity_type.*\\| label.*\\| source.*\\|$~m'
);
$this->assertDisplayContains(
'--filter-type' => 'catalog_product',
'sku'
}