Eccube\Tests\Web\Admin\Product\ProductControllerTest::testRoutingAdminProductProductEdit PHP Method

testRoutingAdminProductProductEdit() public method

    public function testRoutingAdminProductProductEdit()
    {
        $TestProduct = $this->createProduct();
        $test_product_id = $this->app['eccube.repository.product']->findOneBy(array('name' => $TestProduct->getName()))->getId();
        $crawler = $this->client->request('GET', $this->app->url('admin_product_product_edit', array('id' => $test_product_id)));
        $this->assertTrue($this->client->getResponse()->isSuccessful());
    }