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>
This commit is contained in:
Adam DaleyandCopilot Autofix powered by AI authored and GitHub committed 2026-06-02 05:18:44 +01:00
1 parent d635930d73
commit f36ee692d2
1 file changed
+2 -2
+2 -2
View File
@@ -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);
}