mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-26 04:39:09 -04:00
ALPHA 3.0.2a
This commit is contained in:
@@ -3,8 +3,9 @@ namespace Faker\Test\Provider\kk_KZ;
|
||||
|
||||
use Faker\Generator;
|
||||
use Faker\Provider\kk_KZ\Company;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class CompanyTest extends \PHPUnit_Framework_TestCase
|
||||
class CompanyTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
|
||||
@@ -4,8 +4,9 @@ namespace Faker\Test\Provider\kk_KZ;
|
||||
use Faker\Generator;
|
||||
use Faker\Provider\DateTime;
|
||||
use Faker\Provider\kk_KZ\Person;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class PersonTest extends \PHPUnit_Framework_TestCase
|
||||
class PersonTest extends TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
@@ -24,6 +25,6 @@ class PersonTest extends \PHPUnit_Framework_TestCase
|
||||
$individualIdentificationNumber = $this->faker->individualIdentificationNumber($birthDate);
|
||||
$controlDigit = Person::checkSum($individualIdentificationNumber);
|
||||
|
||||
$this->assertTrue($controlDigit === (int)substr($individualIdentificationNumber, 11, 1));
|
||||
$this->assertSame($controlDigit, (int)substr($individualIdentificationNumber, 11, 1));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user