From f36ee692d2f09a2d0d02c6ffdaab216a7d0ebccb Mon Sep 17 00:00:00 2001 From: Adam Daley Date: Tue, 2 Jun 2026 05:18:44 +0100 Subject: [PATCH] Fixes for 2 code quality findings in Product `Service` (#3702) * Apply suggested fix to tests-legacy/modules/Product/ServiceTest.php from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to tests-legacy/modules/Product/ServiceTest.php from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- tests-legacy/modules/Product/ServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests-legacy/modules/Product/ServiceTest.php b/tests-legacy/modules/Product/ServiceTest.php index d56db11b9..1bc388b6b 100644 --- a/tests-legacy/modules/Product/ServiceTest.php +++ b/tests-legacy/modules/Product/ServiceTest.php @@ -514,7 +514,7 @@ final class ServiceTest extends \BBTestCase $this->assertEquals($newProductId, $result); } - public function testDeleteProductActivaOrderException(): void + public function testDeleteProductActiveOrderException(): void { $model = new \Model_Product(); @@ -576,7 +576,7 @@ final class ServiceTest extends \BBTestCase $this->service->setDi($di); - $result = $this->service->updateCategory($model, 'title', 'decription', 'http://urltoimg.com/img.jpg'); + $result = $this->service->updateCategory($model, 'title', 'description', 'http://urltoimg.com/img.jpg'); $this->assertIsBool($result); $this->assertTrue($result); }