diff --git a/tests/ApiTestTrait.php b/tests/ApiTestTrait.php index 0fa1b61..1d90a21 100644 --- a/tests/ApiTestTrait.php +++ b/tests/ApiTestTrait.php @@ -420,11 +420,12 @@ public function testAddBoardCalendarKeyGenerate() public function testGetBoardCards() { + $parameters = ['before' => uniqid()]; $boardId = $this->getTestString(); $payload = $this->getSuccessPayload(); - $this->prepareFor("GET", sprintf("/boards/%s/cards", $boardId), "", $payload); + $this->prepareFor("GET", sprintf("/boards/%s/cards", $boardId), http_build_query($parameters), $payload); - $result = $this->client->getBoardCards($boardId); + $result = $this->client->getBoardCards($boardId, $parameters); $this->assertExpectedEqualsResult($payload, $result); }