1
0
mirror of synced 2024-12-01 01:36:06 +03:00
bitrix-module/tests/lib/service/CurrencyServiceTest.php

18 lines
482 B
PHP
Raw Normal View History

<?php
use Intaro\RetailCrm\Service\CurrencyService;
class CurrencyServiceTest extends BitrixTestCase
{
public function setUp(): void
{
parent::setUp();
}
public function testValidateCurrency()
{
self::assertNotEquals('', CurrencyService::validateCurrency('RUB', 'USD'));
self::assertNotEquals('', CurrencyService::validateCurrency('USD', 'RUB'));
self::assertEquals('', CurrencyService::validateCurrency('RUB', 'RUB'));
}
}