Eccube\Tests\Web\Admin\Order\EditControllerWithMultipleTest::testSearchCustomerById PHP Method

testSearchCustomerById() public method

    public function testSearchCustomerById()
    {
        $crawler = $this->client->request('POST', $this->app->url('admin_order_search_customer_by_id'), array('id' => $this->Customer->getId()), array(), array('HTTP_X-Requested-With' => 'XMLHttpRequest', 'CONTENT_TYPE' => 'application/json'));
        $Result = json_decode($this->client->getResponse()->getContent(), true);
        $this->expected = $this->Customer->getName01();
        $this->actual = $Result['name01'];
        $this->verify();
    }