Unit test doc
Attempting to finish off the two incomplete unit tests but couldn't because of a PECL bug.
This commit is contained in:
parent
feb6c5ab57
commit
8d1b2548e7
@ -119,8 +119,16 @@ class RFC6455Test extends \PHPUnit_Framework_TestCase {
|
||||
|
||||
/**
|
||||
* @dataProvider headerHandshakeProvider
|
||||
* @todo Can't finish this test until I rewrite headers
|
||||
*/
|
||||
public function testVariousHeadersToCheckHandshakeTolerance($pass, $header) {
|
||||
$this->markTestIncomplete();
|
||||
return $this->markTestIncomplete();
|
||||
|
||||
if ($pass) {
|
||||
$this->assertTrue(is_array($this->_version->handshake($header)));
|
||||
} else {
|
||||
$this->setExpectedException('InvalidArgumentException');
|
||||
$this->_version->handshake($header);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user