mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/15369] Fix tests
PHPBB3-15369
This commit is contained in:
@@ -95,7 +95,12 @@ class phpbb_test_case_helpers
|
||||
break;
|
||||
}
|
||||
$this->expectedTriggerError = true;
|
||||
$this->test_case->setExpectedException($exceptionName, (string) $message, $errno);
|
||||
$this->test_case->expectException($exceptionName);
|
||||
$this->test_case->expectExceptionCode($errno);
|
||||
if ($message)
|
||||
{
|
||||
$this->test_case->expectExceptionMessage((string) $message);
|
||||
}
|
||||
}
|
||||
|
||||
public function makedirs($path)
|
||||
|
Reference in New Issue
Block a user