diff options
Diffstat (limited to 'test/unit/SparkPostTest.php')
-rw-r--r-- | test/unit/SparkPostTest.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/SparkPostTest.php b/test/unit/SparkPostTest.php index 1b86a8f..650cb36 100644 --- a/test/unit/SparkPostTest.php +++ b/test/unit/SparkPostTest.php @@ -1,7 +1,7 @@ <?php namespace SparkPost\Test; -use MessageSystems\SparkPost; +use SparkPost\SparkPost; class SparkPostTest extends \PHPUnit_Framework_TestCase { @@ -9,7 +9,7 @@ class SparkPostTest extends \PHPUnit_Framework_TestCase { * @desc Ensures that the configuration class is not instantiable. */ public function testConstructorCannotBeCalled() { - $class = new \ReflectionClass('\MessageSystems\SparkPost'); + $class = new \ReflectionClass('\SparkPost\SparkPost'); $this->assertFalse($class->isInstantiable()); } @@ -29,7 +29,7 @@ class SparkPostTest extends \PHPUnit_Framework_TestCase { * @expectedExceptionMessage You must provide an API key */ public function testSetConfigAPIKeyNotSetException() { - SparkPost::setConfig(['something'=>'other than an API Key']); + SparkPost::setConfig(array('something'=>'other than an API Key')); } /** @@ -38,14 +38,14 @@ class SparkPostTest extends \PHPUnit_Framework_TestCase { * @expectedExceptionMessage You must provide an API key */ public function testSetConfigAPIKeyEmptyException() { - SparkPost::setConfig(['key'=>'']); + SparkPost::setConfig(array('key'=>'')); } /** * @desc Tests overridable values are set while invalid values are ignored */ public function testSetConfigMultipleValuesAndGetConfig() { - SparkPost::setConfig(['key'=>'lala', 'version'=>'v8', 'port'=>1024, 'someOtherValue'=>'fakeValue']); + SparkPost::setConfig(array('key'=>'lala', 'version'=>'v8', 'port'=>1024, 'someOtherValue'=>'fakeValue')); $testConfig = SparkPost::getConfig(); $this->assertEquals('lala', $testConfig['key']); |