From bca96f76d5d372541590e7df5f3291e3f3d59ba1 Mon Sep 17 00:00:00 2001 From: sockstack <85564748@qq.com> Date: Thu, 8 Nov 2018 20:44:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E6=A8=A1=E6=8B=9F?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 3 ++- tests/{FactoryMethodText.php => FactoryMethodTest.php} | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename tests/{FactoryMethodText.php => FactoryMethodTest.php} (94%) diff --git a/composer.json b/composer.json index a961ea4..65f6a76 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,8 @@ } ], "require": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "~5.7.0", + "mockery/mockery": "^1.2" }, "autoload": { "psr-4": { diff --git a/tests/FactoryMethodText.php b/tests/FactoryMethodTest.php similarity index 94% rename from tests/FactoryMethodText.php rename to tests/FactoryMethodTest.php index d727107..d0190dd 100644 --- a/tests/FactoryMethodText.php +++ b/tests/FactoryMethodTest.php @@ -14,7 +14,7 @@ use Sockstack\DesignPattern\FactoryMethod\Sample\Implemention\Taxi; use Sockstack\DesignPattern\FactoryMethod\Sample\Implemention\TaxiFactory; -class FactoryMethodText extends TestCase +class FactoryMethodTest extends TestCase { public function testFactoryMethod() {