Мелкофиксы

- `Ffd105Tags::CLIENT_CONTACTS` => `CLIENT_PHONE_EMAIL`
+ мелочи по `Client`, `ClientTest` и `PayingAgentTest`
This commit is contained in:
2021-11-24 18:55:53 +08:00
parent 95dbc3a5b7
commit 8b79b2be51
8 changed files with 17 additions and 33 deletions

View File

@@ -67,16 +67,17 @@ class PayingAgentTest extends BasicTestCase
/**
* Тестирует установку операций, которые приводятся к null
*
* @param mixed $name
* @param mixed $operation
* @dataProvider providerNullableStrings
* @covers \AtolOnline\Entities\PayingAgent
* @covers \AtolOnline\Entities\PayingAgent::setOperation
* @covers \AtolOnline\Entities\PayingAgent::getOperation
* @throws TooLongPayingAgentOperationException
* @throws InvalidPhoneException
*/
public function testNullableOperations(mixed $name): void
public function testNullableOperations(mixed $operation): void
{
$this->assertNull((new PayingAgent())->setOperation($name)->getOperation());
$this->assertNull((new PayingAgent($operation))->getOperation());
}
/**