Alex Trofimov 7 лет назад
Родитель
Сommit
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
         // 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()
     public function providerForServiceCheckJoin()