X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fuser%2Ftests%2Fsrc%2FKernel%2FPlugin%2Fmigrate%2Fsource%2Fd6%2FUserPictureFileTest.php;fp=web%2Fcore%2Fmodules%2Fuser%2Ftests%2Fsrc%2FKernel%2FPlugin%2Fmigrate%2Fsource%2Fd6%2FUserPictureFileTest.php;h=2724d35f59f6692028337d9b7c274f4c8443598b;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php b/web/core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php new file mode 100644 index 000000000..2724d35f5 --- /dev/null +++ b/web/core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserPictureFileTest.php @@ -0,0 +1,49 @@ + '2', + 'picture' => 'core/modules/simpletest/files/image-test.jpg', + ], + [ + 'uid' => '15', + 'picture' => '', + ], + ]; + + // The expected results. + $tests[0]['expected_data'] = [ + [ + 'uid' => '2', + 'picture' => 'core/modules/simpletest/files/image-test.jpg', + ], + ]; + + return $tests; + } + +}