فهرست منبع

#2028 Profanity Filter - fixing tests

Alex Trofimov 7 سال پیش
والد
کامیت
c2a0076222
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      tests/units/modules/boonex/antispam/classes/BxAntispamModuleTest.php

+ 2 - 1
tests/units/modules/boonex/antispam/classes/BxAntispamModuleTest.php

@@ -94,7 +94,8 @@ class BxAntispamModuleTest extends BxDolTestCase
         }
 
         // check result boolean value
-        $this->assertEquals($bRes, $this->_oModule->serviceIsSpam($this->anything(), $this->_sSampleIP));
+        $sContent = $this->anything();
+        $this->assertEquals($bRes, $this->_oModule->serviceIsSpam($sContent, $this->_sSampleIP));
     }
 
     public function providerForServiceCheckJoin()