|
@@ -24,12 +24,20 @@ class TestAccountDivert extends TestCase
|
|
|
$helper = new refill\divert_account();
|
|
|
$helper->init_member(65999);
|
|
|
}
|
|
|
+
|
|
|
+ //docker-compose run php php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAccountDivert::testInitMerchants)( .*)?$/" --test-suffix TestAccountDivert.php /var/www/html/test
|
|
|
public function testInitMerchants()
|
|
|
{
|
|
|
$helper = new refill\divert_account();
|
|
|
$helper->init_merchants();
|
|
|
}
|
|
|
- //docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAccountDivert::testInitMerchants)( .*)?$/" --test-suffix TestAccountDivert.php /var/www/html/test
|
|
|
+ //docker-compose run php php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAccountDivert::testInitChannels)( .*)?$/" --test-suffix TestAccountDivert.php /var/www/html/test
|
|
|
+ public function testInitChannels()
|
|
|
+ {
|
|
|
+ $helper = new refill\divert_account();
|
|
|
+ $helper->init_channels();
|
|
|
+ }
|
|
|
+
|
|
|
public function testDivertMember()
|
|
|
{
|
|
|
$helper = new refill\divert_account();
|
|
@@ -53,11 +61,7 @@ class TestAccountDivert extends TestCase
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- public function testInitChannels()
|
|
|
- {
|
|
|
- $helper = new refill\divert_account();
|
|
|
- $helper->init_channels();
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
//docker-compose run phpcli php /var/www/html/phpunit-9.2.5.phar --filter "/(TestAccountDivert::testInitChannels)( .*)?$/" --test-suffix TestAccountDivert.php /var/www/html/test
|
|
|
public function testInitChannelsAccount()
|