Skip to content
Permalink
Browse files

Update IntegrationTestCaseTest.php

Add test for AssertHeaderContains()
  • Loading branch information...
half2me committed Feb 8, 2016
1 parent 4b31ef1 commit 3c8022adaa681757bf8565963126d8be31839e9d
Showing with 13 additions and 0 deletions.
  1. +13 −0 tests/TestCase/TestSuite/IntegrationTestCaseTest.php
@@ -446,6 +446,19 @@ public function testAssertHeader()
$this->assertHeader('Etag', 'abc123');
}
/**
* Test the header contains assertion.
*
* @return void
*/
public function testAssertHeaderContains()
{
$this->_response = new Response();
$this->_response->header('Etag', 'abc123');
$this->assertHeaderContains('Etag', 'abc');
}
/**
* Test the content type assertion.

0 comments on commit 3c8022a

Please sign in to comment.
You can’t perform that action at this time.