Skip to content

Commit

Permalink
update Blogs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ksvirkou-hubspot committed Jan 14, 2020
1 parent 547534b commit 65a6a36
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/Integration/Resources/BlogsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,4 @@ public function getById()

$this->assertEquals(200, $response->getStatusCode());
}

/** @test */
public function versionsGetVersion()
{
$blogs = $this->resource->all(['limit' => 1]);

$listResponse = $this->resource->versions($blogs->objects[0]->id);

$this->assertEquals(200, $listResponse->getStatusCode());

$getResponse = $this->resource->getVersion(
$blogs->objects[0]->id,
$listResponse->getData()[0]->version_id
);

$this->assertEquals(200, $getResponse->getStatusCode());
}
}

0 comments on commit 65a6a36

Please sign in to comment.