From d8a4412a896bdc6e6371396833d587bf20bc0f3e Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Mon, 11 Mar 2019 23:40:01 +0800 Subject: [PATCH] [wip] fixing tests after testbench update to 3.8 --- tests/CrudMakeClassPropertiesTest.php | 2 +- tests/TestCase.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CrudMakeClassPropertiesTest.php b/tests/CrudMakeClassPropertiesTest.php index 00d4a1c..afe12f7 100644 --- a/tests/CrudMakeClassPropertiesTest.php +++ b/tests/CrudMakeClassPropertiesTest.php @@ -6,7 +6,7 @@ use Luthfi\CrudGenerator\CrudMake; class CrudMakeClassPropertiesTest extends TestCase { - public function setUp() + public function setUp(): void { parent::setUp(); $this->crudMaker = app(CrudMake::class); diff --git a/tests/TestCase.php b/tests/TestCase.php index 1972e6c..8c55a86 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -14,7 +14,7 @@ abstract class TestCase extends BaseTestCase protected $collection_model_var_name; protected $single_model_var_name; - public function setUp() + public function setUp(): void { parent::setUp(); $this->model_name = 'MemberType'; @@ -27,7 +27,7 @@ abstract class TestCase extends BaseTestCase $this->single_model_var_name = camel_case($this->model_name); } - public function tearDown() + public function tearDown(): void { $this->cleanUpGeneratedFiles();