From 7c918c52caede165159375f49e19fe0b2bcb422c Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 30 Oct 2022 17:37:55 +0900 Subject: [PATCH] Add iwinv SMS driver to unit test --- tests/unit/framework/SMSTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/unit/framework/SMSTest.php b/tests/unit/framework/SMSTest.php index a952463d4..7d6be7175 100644 --- a/tests/unit/framework/SMSTest.php +++ b/tests/unit/framework/SMSTest.php @@ -23,11 +23,13 @@ class SMSTest extends \Codeception\TestCase\Test $this->assertTrue(isset($drivers['dummy'])); $this->assertTrue(isset($drivers['apistore'])); $this->assertTrue(isset($drivers['coolsms'])); + $this->assertTrue(isset($drivers['iwinv'])); $this->assertTrue(isset($drivers['solapi'])); $this->assertTrue(isset($drivers['ppurio'])); $this->assertEquals('Dummy', $drivers['dummy']['name']); $this->assertTrue(in_array('api_user', $drivers['apistore']['required'])); $this->assertTrue(in_array('api_key', $drivers['coolsms']['required'])); + $this->assertTrue(in_array('api_url', $drivers['iwinv']['required'])); $this->assertTrue(in_array('api_user', $drivers['ppurio']['required'])); $this->assertTrue(in_array('api_key', $drivers['solapi']['required'])); $this->assertTrue($drivers['coolsms']['api_spec']['mms_supported']);