%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/cwd/html/ppaobm/vendor/codeception/base/tests/unit/Codeception/ |
Upload File : |
<?php use Codeception\Util\Stub; class ModuleTest extends \PHPUnit\Framework\TestCase { public function testRequirements() { $module = Stub::make('ModuleStub'); try { $module->_setConfig([]); } catch (\Exception $e) { $this->assertContains('"error"', $e->getMessage()); $this->assertContains('no\such\class', $e->getMessage()); $this->assertContains('composer', $e->getMessage()); $this->assertNotContains('installed', $e->getMessage()); return; } $this->fail('no exception thrown'); } } class ModuleStub extends \Codeception\Module implements \Codeception\Lib\Interfaces\RequiresPackage { public function _requires() { return ['no\such\class' => '"error"', 'Codeception\Module' => '"installed"']; } }