Eccube\Tests\Web\Admin\Setting\Shop\CsvControllerTest::testGetCsv PHP Method

testGetCsv() public method

public testGetCsv ( )
    public function testGetCsv()
    {
        $CsvType = $this->app['eccube.repository.master.csv_type']->find(1);
        $this->assertNotEmpty($CsvType);
        $Csv = $this->app['eccube.repository.csv']->findBy(array('CsvType' => $CsvType, 'enable_flg' => Constant::ENABLED), array('rank' => 'ASC'));
        $this->assertNotEmpty($Csv);
    }