Elgg\CommitMessageGitHookTest::setUp PHP Method

setUp() public method

public setUp ( )
    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();
    }