tests: fix covers
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user