summaryrefslogtreecommitdiffstats
path: root/test/unit/SparkPostTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/SparkPostTest.php')
-rw-r--r--test/unit/SparkPostTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unit/SparkPostTest.php b/test/unit/SparkPostTest.php
index cd45c5a..d4b1129 100644
--- a/test/unit/SparkPostTest.php
+++ b/test/unit/SparkPostTest.php
@@ -34,14 +34,14 @@ class SparkPostTest extends \PHPUnit_Framework_TestCase {
}
/**
- * @desc Ensures that the configuration class is not instantiable.
- */
- public function testConstructorSetsUpTransmissions() {
- $sparky = new SparkPost(new CurlHttpAdapter(), ['key'=>'a key']);
- $this->assertEquals('SparkPost\Transmission', get_class($sparky->transmission));
+ * @desc Ensures that the configuration class is not instantiable.
+ */
+ public function testConstructorSetsUpTransmissions() {
+ $sparky = new SparkPost(new CurlHttpAdapter(), ['key'=>'a key']);
+ $this->assertEquals('SparkPost\Transmission', get_class($sparky->transmission));
$adapter = self::$utils->getProperty($this->resource, 'httpAdapter');
$this->assertRegExp('/php-sparkpost.*/', $adapter->getConfiguration()->getUserAgent());
- }
+ }
/**
* @expectedException Exception