mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-65249 session: use redis host constant in unit tests
This commit is contained in:
parent
9b879d0bb7
commit
93872a9a2f
@ -283,7 +283,7 @@ class core_session_redis_testcase extends advanced_testcase {
|
||||
$actual = $e->getMessage();
|
||||
}
|
||||
|
||||
$expected = 'Failed to connect (try 5 out of 5) to redis at 127.0.0.1:111111';
|
||||
$expected = 'Failed to connect (try 5 out of 5) to redis at ' . TEST_SESSION_REDIS_HOST . ':111111';
|
||||
$this->assertDebuggingCalledCount(5);
|
||||
$this->assertContains($expected, $actual);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user