From 9bdb055370671afa09c83dd60e5a88ae7650df72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gracjan=20J=C3=B3zefczyk?= Date: Mon, 3 Jun 2024 14:15:08 +0200 Subject: [PATCH] OP-225: Spec test fix --- spec/Finder/NamedProductsFinderSpec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/Finder/NamedProductsFinderSpec.php b/spec/Finder/NamedProductsFinderSpec.php index 5ea8d00a..4f81b48b 100644 --- a/spec/Finder/NamedProductsFinderSpec.php +++ b/spec/Finder/NamedProductsFinderSpec.php @@ -37,7 +37,7 @@ function it_finds_by_partial_name_of_products( FinderInterface $productsFinder, AbstractQuery $query ): void { - $productsByPartialNameQueryBuilder->buildQuery(['name' => 'part'])->willReturn($query); + $productsByPartialNameQueryBuilder->buildQuery(['query' => 'part'])->willReturn($query); $productsFinder->find($query)->willReturn([]);