summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/articleenhancer/XPathArticleEnhancerTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/articleenhancer/XPathArticleEnhancerTest.php b/tests/unit/articleenhancer/XPathArticleEnhancerTest.php
index 26381057c..798fa9203 100644
--- a/tests/unit/articleenhancer/XPathArticleEnhancerTest.php
+++ b/tests/unit/articleenhancer/XPathArticleEnhancerTest.php
@@ -149,7 +149,7 @@ class XPathArticleEnhancerTest extends \OCA\AppFramework\Utility\TestUtility {
->will($this->returnValue(null));
$result = $this->testEnhancer->enhance($item);
- $this->assertEquals(null, $result->getBody());
+ $this->assertEquals('Hello thar', $result->getBody());
}
@@ -172,7 +172,7 @@ class XPathArticleEnhancerTest extends \OCA\AppFramework\Utility\TestUtility {
->will($this->returnValue(null));
$result = $this->testEnhancer->enhance($item);
- $this->assertEquals(null, $result->getBody());
+ $this->assertEquals('Hello thar', $result->getBody());
}
@@ -200,7 +200,7 @@ class XPathArticleEnhancerTest extends \OCA\AppFramework\Utility\TestUtility {
->will($this->returnValue(null));
$result = $this->testEnhancer->enhance($item);
- $this->assertEquals(null, $result->getBody());
+ $this->assertEquals('Hello thar', $result->getBody());
}
@@ -285,4 +285,4 @@ class XPathArticleEnhancerTest extends \OCA\AppFramework\Utility\TestUtility {
$this->assertEquals('<img src="http://www.url.com/absolute/url.png"><a target="_blank" href="mailto:test@testsite.com">mail</a>', $result->getBody());
}
-} \ No newline at end of file
+}