Merge branch 'MDL-80167-401-int' of https://github.com/HuongNV13/moodle into MOODLE_401_STABLE

This commit is contained in:
Jake Dallimore 2024-03-15 12:55:15 +08:00
commit 8a26315686
No known key found for this signature in database

View File

@ -85,6 +85,10 @@ class environment_test extends \advanced_testcase {
// If we're on a 32-bit system, skip 64-bit check. 32-bit PHP has PHP_INT_SIZE set to 4.
$this->markTestSkipped('64-bit check is not necessary for unit testing.');
}
if ($result->info === 'oracle_database_usage') {
// If we're on a system that uses the Oracle database, skip the Oracle check.
$this->markTestSkipped('Oracle database check is not necessary for unit testing.');
}
}
$info = "{$result->part}:{$result->info}";
$this->assertTrue($result->getStatus(), "Problem detected in environment ($info), fix all warnings and errors!");