tests: fix covers

This commit is contained in:
2025-10-27 09:07:36 +03:00
parent c18f5d9038
commit 59aa06b2e4
3 changed files with 6 additions and 6 deletions

1
.gitignore vendored
View File

@@ -27,3 +27,4 @@ src/*
spa/node_modules spa/node_modules
module/oc_telegram_shop/upload/oc_telegram_shop/vendor module/oc_telegram_shop/upload/oc_telegram_shop/vendor
module/oc_telegram_shop/upload/image module/oc_telegram_shop/upload/image
module/oc_telegram_shop/upload/oc_telegram_shop/.phpunit.cache

File diff suppressed because one or more lines are too long

View File

@@ -8,13 +8,13 @@ use Openguru\OpenCartFramework\Validator\Validator;
use Tests\TestCase; use Tests\TestCase;
/** /**
* @coversDefaultClass Validator * @coversDefaultClass \Openguru\OpenCartFramework\Validator\Validator
*/ */
class ValidatorTest extends TestCase class ValidatorTest extends TestCase
{ {
/** /**
* @covers Validator::fails() * @covers \Openguru\OpenCartFramework\Validator\Validator::fails
* @covers Validator::make() * @covers \Openguru\OpenCartFramework\Validator\Validator::make
*/ */
public function testValidateBasic(): void public function testValidateBasic(): void
{ {
@@ -23,7 +23,7 @@ class ValidatorTest extends TestCase
} }
/** /**
* @covers Validator::fails() * @covers \Openguru\OpenCartFramework\Validator\Validator::fails
*/ */
public function testThrowExceptionIfRuleNotFound(): void public function testThrowExceptionIfRuleNotFound(): void
{ {