diff --git a/tests/Unit/Suites/Product/ProductDetailViewSnippetRendererTest.php b/tests/Unit/Suites/Product/ProductDetailViewSnippetRendererTest.php
index <HASH>..<HASH> 100644
--- a/tests/Unit/Suites/Product/ProductDetailViewSnippetRendererTest.php
+++ b/tests/Unit/Suites/Product/ProductDetailViewSnippetRendererTest.php
@@ -144,9 +144,9 @@ class ProductDetailViewSnippetRendererTest extends \PHPUnit_Framework_TestCase
         $this->assertContainsSnippetWithGivenKey($testTitleSnippetKey, ...$result);
         $this->assertContainsSnippetWithGivenKey($testMetaDescriptionSnippetKey, ...$result);
 
-        $metaSnippet = array_reduce($result, function ($carry, Snippet $item) {
-            return $item->getKey() === $carry ? $item : $carry;
-        }, $testMetaSnippetKey);
+        $metaSnippet = array_reduce($result, function ($carry, Snippet $item) use ($testMetaSnippetKey) {
+            return $item->getKey() === $testMetaSnippetKey ? $item : $carry;
+        });
 
         $this->assertContainerContainsSnippet(
             $metaSnippet,
Issue #<I>: Don't abuse carry and initial value for snippet key