diff options
Diffstat (limited to 'tests/unit/Service/Social/XingProviderTest.php')
-rw-r--r-- | tests/unit/Service/Social/XingProviderTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/Service/Social/XingProviderTest.php b/tests/unit/Service/Social/XingProviderTest.php index 1d401f1a..3799371a 100644 --- a/tests/unit/Service/Social/XingProviderTest.php +++ b/tests/unit/Service/Social/XingProviderTest.php @@ -104,10 +104,10 @@ class XingProviderTest extends TestCase { "https://www.xing.com/profile/username2", "https://www.xing.com/profile/username3" ]; - $contactWithSocialHtml = array_map(function ($profile) { + $contactWithSocialHtml = array_map(function ($profile) use ($contactImages) { return '<img src="'.$contactImages[$profile['value']].'" />'; }, $contactWithSocial['X-SOCIALPROFILE']); - $contactWithSocialImg = array_map(function ($profile) { + $contactWithSocialImg = array_map(function ($profile) use ($contactImages) { return $contactImages[$profile['value']]; }, $contactWithSocial['X-SOCIALPROFILE']); |