Skip to content

Commit

Permalink
Fix tests for new phpunit version, refs #4623
Browse files Browse the repository at this point in the history
  • Loading branch information
zombor committed Oct 23, 2012
1 parent ec77c58 commit a27b049
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion tests/kohana/HTTPTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function test_redirect($location, $code, $expected_exception, $expected_l
{
$response = $e->get_response();

$this->assertType($expected_exception, $e);
$this->assertInstanceOf($expected_exception, $e);
$this->assertEquals($expected_location, $response->headers('Location'));

return;
Expand Down
2 changes: 0 additions & 2 deletions tests/kohana/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,11 @@ public function provider_url()
array(
'foo/bar',
'http',
TRUE,
'http://localhost/kohana/foo/bar'
),
array(
'foo',
'http',
TRUE,
'http://localhost/kohana/foo'
),
);
Expand Down

0 comments on commit a27b049

Please sign in to comment.