tests: fix covers
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -26,4 +26,5 @@ dist-ssr
|
||||
src/*
|
||||
spa/node_modules
|
||||
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
@@ -8,13 +8,13 @@ use Openguru\OpenCartFramework\Validator\Validator;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* @coversDefaultClass Validator
|
||||
* @coversDefaultClass \Openguru\OpenCartFramework\Validator\Validator
|
||||
*/
|
||||
class ValidatorTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Validator::fails()
|
||||
* @covers Validator::make()
|
||||
* @covers \Openguru\OpenCartFramework\Validator\Validator::fails
|
||||
* @covers \Openguru\OpenCartFramework\Validator\Validator::make
|
||||
*/
|
||||
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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user