Merge branch 'tests-make-loadFixtures-public' into 'dev'

tests: Make loadFixtures public

See merge request hubzilla/core!2270
This commit is contained in:
Mario
2026-03-11 18:41:24 +00:00

View File

@@ -181,7 +181,7 @@ class UnitTestCase extends TestCase {
* directory of the process, which should normally
* be the Hubzilla root directory.
*/
private function loadFixture($file) : void {
public function loadFixture($file) : void {
$table_name = basename($file, '.yml');
$data = yaml_parse_file($file)[$table_name];