summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorbeardyman <nornholdj@gmail.com>2015-10-07 15:44:44 -0400
committerbeardyman <nornholdj@gmail.com>2015-10-07 15:44:44 -0400
commit63022bf7bceb6aa7116159fd347be769594fa8b4 (patch)
treea3b7e904158fe2145673a1d54676672096675a5f /test/unit
parentada533a743125008474de854a3f6bcec5c104fbe (diff)
downloadphp-sparkpost-63022bf7bceb6aa7116159fd347be769594fa8b4.zip
php-sparkpost-63022bf7bceb6aa7116159fd347be769594fa8b4.tar.gz
php-sparkpost-63022bf7bceb6aa7116159fd347be769594fa8b4.tar.bz2
removed unhittable code and removed a unit test for it. Updated code coverage filters in phpunit.xml to ignore test files because a utility function wasn't being used
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/SparkPostTest.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/SparkPostTest.php b/test/unit/SparkPostTest.php
index d4b1129..101784a 100644
--- a/test/unit/SparkPostTest.php
+++ b/test/unit/SparkPostTest.php
@@ -66,11 +66,6 @@ class SparkPostTest extends \PHPUnit_Framework_TestCase {
$this->assertEquals('application/json', $results['Content-Type']);
}
- public function testGetHeadersOverride() {
- $results = $this->resource->getHttpHeaders(['Content-Type'=>'application/xml']);
- $this->assertEquals('application/xml', $results['Content-Type']);
- }
-
public function testSetUnwrapped() {
$results = $this->resource->setupUnwrapped('ASweetEndpoint');
$this->assertEquals($this->resource->ASweetEndpoint, $results);