Пример #1
0
 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));
 }
Пример #2
0
 public function changelog(Version $version1, Version $version2)
 {
     return $this->client->changelog($version1->getBuild(), $version2->getBuild());
 }