Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
christopheschwyzer committed Feb 11, 2015
1 parent 7a5b61b commit 8eeb8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/library/CM/Http/Response/Resource/LayoutTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testRendering() {
/** @var CM_Http_Response_Resource_Layout $response */
$response = $this->getResponseResourceLayout($filePath);
$this->assertContains('Content-Type: application/xml', $response->getHeaders());
$this->assertTrue((boolean) preg_match('!src="http://cdn\.default\.dev/layout/.+?/img/mstile-70x70\.png"!', $response->getContent()));
$this->assertTrue((boolean) preg_match('!src="http://cdn\.default\.dev/layout/.+?/img/meta/mstile-70x70\.png"!', $response->getContent()));
$response->getRender()->getLayoutFile('resource/' . $filePath);
}

Expand Down

0 comments on commit 8eeb8a0

Please sign in to comment.