Alex Trofimov 1 năm trước cách đây
mục cha
commit
e268caf906

+ 1 - 1
tests/phpunit.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<phpunit bootstrap="bootstrap.php" backupGlobals="false" failOnRisky="false" failOnPhpunitDeprecation="false">
+<phpunit bootstrap="bootstrap.php" backupGlobals="false" failOnRisky="false" failOnWarning="false" failOnDeprecation="false">
   <testsuites>
     <testsuite name="AllTests">
       <directory>./units</directory>

+ 4 - 0
tests/units/modules/boonex/antispam/classes/BxAntispamModuleTest.php

@@ -113,6 +113,8 @@ class BxAntispamModuleTest extends BxDolTestCase
     }
 
     /**
+     * @runInSeparateProcess
+     * @preserveGlobalState disabled
      * @dataProvider providerForServiceCheckJoin
      */
     public function testServiceCheckJoin($bIpBlocked, $sDnsblEnable, $sDnsblBehaviour, $bDnsblIpBlacklisted, $bStopForumSpamSpammer, $bResultSetApprove, $bResultEmptyString)
@@ -182,6 +184,8 @@ class BxAntispamModuleTest extends BxDolTestCase
     }
 
     /**
+     * @runInSeparateProcess
+     * @preserveGlobalState disabled
      * @dataProvider providerForServiceCheckLogin
      */
     public function testServiceCheckLogin($bIpBlocked, $sDnsblEnable, $sDnsblBehaviour, $bDnsblIpBlacklisted, $bResultEmptyString)