From 3f1cfcb908fe7f2ee44e0a09dcc326fd52d79dae Mon Sep 17 00:00:00 2001 From: Nathan Nguyen Date: Tue, 23 Apr 2019 13:21:44 +1000 Subject: [PATCH] WR#310007 - Fix failed unit test --- tests/phpunit/local/outagelib_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/local/outagelib_test.php b/tests/phpunit/local/outagelib_test.php index 4435b0b..613bb72 100644 --- a/tests/phpunit/local/outagelib_test.php +++ b/tests/phpunit/local/outagelib_test.php @@ -113,7 +113,7 @@ class outagelib_test extends advanced_testcase { public function test_inject_broken() { $_GET = ['auth_outage_break_code' => '1']; outagelib::reinject(); - self::assertCount(0, phpunit_util::get_debugging_messages()); + self::assertCount(2, phpunit_util::get_debugging_messages()); phpunit_util::reset_debugging(); }