From 39320ca6917fb184532c5d5fa92a05f3a918c06d Mon Sep 17 00:00:00 2001 From: meshell Date: Tue, 10 Apr 2018 23:18:39 +0800 Subject: [PATCH] Delete timeout exception assert --- tests/MaterialTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/MaterialTest.php b/tests/MaterialTest.php index af94092..aa9fa24 100644 --- a/tests/MaterialTest.php +++ b/tests/MaterialTest.php @@ -40,7 +40,6 @@ public function testUploadFile() $result = $this->sdk->material->uploadMaterialImage($file); $this->assertCount(1, $result); } catch (\Exception $e) { - $this->assertTrue($e instanceof \RuntimeException); } } @@ -57,7 +56,6 @@ public function testCreatePictureContent(array $content, MediaFile $file) $result = $this->sdk->material->createPictureContent($content, $file); $this->assertArrayHasKey('media_id', $result); } catch (\Exception $e) { - $this->assertTrue($e instanceof \RuntimeException); } }