mirror of
https://github.com/fzaninotto/Faker.git
synced 2025-04-19 23:12:01 +02:00
Fix: Use assertEquals() instead of assertEqual()
This commit is contained in:
parent
3b7c20462d
commit
bd1b776934
@ -29,7 +29,7 @@ class PaymentTest extends TestCase
|
||||
|
||||
$key = (int) substr($siren, 2, 2);
|
||||
if ($key === 0) {
|
||||
$this->assertEqual($key, (12 + 3 * ($siren % 97)) % 97);
|
||||
$this->assertEquals($key, (12 + 3 * ($siren % 97)) % 97);
|
||||
}
|
||||
}
|
||||
|
||||
@ -43,7 +43,7 @@ class PaymentTest extends TestCase
|
||||
|
||||
$key = (int) substr($siren, 2, 2);
|
||||
if ($key === 0) {
|
||||
$this->assertEqual($key, (12 + 3 * ($siren % 97)) % 97);
|
||||
$this->assertEquals($key, (12 + 3 * ($siren % 97)) % 97);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user