Its validateRevision, not isValidRevision, here as well
This commit is contained in:
parent
5553c37ccd
commit
4976c20935
@ -231,9 +231,9 @@ class IDF_Tests_TestMonotone extends UnitTestCase
|
|||||||
$this->assertEqual("second\n", $files[0]->log);
|
$this->assertEqual("second\n", $files[0]->log);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testIsValidRevision()
|
public function testvalidateRevision()
|
||||||
{
|
{
|
||||||
$this->assertTrue($this->mtnInstance->isValidRevision("t:release-1.0"));
|
$this->assertEquals(IDF_Scm::REVISION_VALID, $this->mtnInstance->validateRevision("t:release-1.0"));
|
||||||
$this->assertFalse($this->mtnInstance->isValidRevision("abcdef12345"));
|
$this->assertEquals(IDF_Scm::REVISION_INVALID, $this->mtnInstance->validateRevision("abcdef12345"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user