From 65a6a36ef640305c2b0794e4ab7dc5c3d6db42f3 Mon Sep 17 00:00:00 2001 From: ksvirkou Date: Tue, 14 Jan 2020 17:39:20 +0300 Subject: [PATCH] update Blogs tests --- tests/Integration/Resources/BlogsTest.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/Integration/Resources/BlogsTest.php b/tests/Integration/Resources/BlogsTest.php index a0ffaea5..88e0b8ef 100644 --- a/tests/Integration/Resources/BlogsTest.php +++ b/tests/Integration/Resources/BlogsTest.php @@ -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()); - } }