From bd1993cd00d192e5ce51e31d512e86c0da70a4c8 Mon Sep 17 00:00:00 2001 From: devk Date: Tue, 9 Jan 2018 03:36:23 +0100 Subject: [PATCH] Integration test moved to unit --- tests/{Integration => Unit}/FactoryTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename tests/{Integration => Unit}/FactoryTest.php (96%) diff --git a/tests/Integration/FactoryTest.php b/tests/Unit/FactoryTest.php similarity index 96% rename from tests/Integration/FactoryTest.php rename to tests/Unit/FactoryTest.php index 25dac60..91f994d 100644 --- a/tests/Integration/FactoryTest.php +++ b/tests/Unit/FactoryTest.php @@ -1,6 +1,6 @@ assertTrue(ApiFactory::currency() instanceof Currency); } + public function testDigitalCurrencySuccess() { $this->assertTrue(ApiFactory::digitalCurrency() instanceof DigitalCurrency); } + public function testSectorSuccess() { $this->assertTrue(ApiFactory::sector() instanceof Sector); } + public function testStockSuccess() { $this->assertTrue(ApiFactory::stock() instanceof Stock); } + public function testGeneralSuccess() { $this->assertTrue(ApiFactory::general() instanceof General);