diff options
-rw-r--r-- | apps/settings/tests/UserMigration/AccountMigratorTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings/tests/UserMigration/AccountMigratorTest.php b/apps/settings/tests/UserMigration/AccountMigratorTest.php index 051af68017c..045a0cf3ded 100644 --- a/apps/settings/tests/UserMigration/AccountMigratorTest.php +++ b/apps/settings/tests/UserMigration/AccountMigratorTest.php @@ -82,6 +82,7 @@ class AccountMigratorTest extends TestCase { return array_map( function (string $filename) { $dataPath = self::ASSETS_DIR . $filename; + // For each json file there is an avatar image with the same basename $avatarBasename = pathinfo($filename, PATHINFO_FILENAME); $avatarPath = self::ASSETS_DIR . (file_exists(self::ASSETS_DIR . "$avatarBasename.jpg") ? "$avatarBasename.jpg" : "$avatarBasename.png"); return [ |