Beispiel #1
0
 public function setUp()
 {
     if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
         $this->markTestSkipped('Can only test in *nix envs.');
     }
     $this->scriptsDir = dirname(dirname(dirname(dirname(__DIR__)))) . '/.scripts/';
     $this->filesDir = dirname(__DIR__) . '/test_files/commit_messages/';
     $this->validateScript = "php {$this->scriptsDir}validate_commit_msg.php";
     parent::setUp();
 }
 public function setUp()
 {
     parent::setUp();
     $this->mock = $this->getMockForAbstractClass('\\Elgg\\HooksRegistrationService');
 }