public function testRevisionCompare() { list($newerRevision, $olderRevision) = $this->existingRevisionProvider(); $this->assertEquals(1, $this->client->revisionCompare($newerRevision, $olderRevision)); $this->assertEquals(0, $this->client->revisionCompare($olderRevision, $olderRevision)); $this->assertEquals(-1, $this->client->revisionCompare($olderRevision, $newerRevision)); }
public function changelog(Version $version1, Version $version2) { return $this->client->changelog($version1->getBuild(), $version2->getBuild()); }