Elgg\TravisValidateCommitMsgTest::testRange PHP Метод

testRange() публичный Метод

Range with valid msgs
public testRange ( )
    public function testRange()
    {
        // baf2df9355a5fc63679ad1aa80f363d00a51572b..3749dda1411437bc8029b1facfe5922059a247f1
        $cmd = "bash {$this->travisScript}";
        $result = $this->runCmd($cmd, $output, array('TRAVIS_COMMIT_RANGE' => "baf2df9355a5fc63679ad1aa80f363d00a51572b...3749dda1411437bc8029b1facfe5922059a247f1"));
        $this->assertTrue($result, $output);
        // and with two dots
        $cmd = "bash {$this->travisScript}";
        $result = $this->runCmd($cmd, $output, array('TRAVIS_COMMIT_RANGE' => "baf2df9355a5fc63679ad1aa80f363d00a51572b..3749dda1411437bc8029b1facfe5922059a247f1"));
        $this->assertTrue($result, $output);
    }