Discogs\Test\ClientTest::testChangeOrder PHP Method

testChangeOrder() public method

public testChangeOrder ( )
    public function testChangeOrder()
    {
        $client = $this->createClient('change_order', $history = new History());
        $response = $client->changeOrder(['order_id' => '1-1', 'shipping' => 5.0]);
        $this->assertSame('POST', $history->getLastRequest()->getMethod());
        $this->assertSame('https://api.discogs.com/marketplace/orders/1-1', $history->getLastRequest()->getUrl());
    }