Gitonomy\Git\Tests\PushReferenceTest::testLogWithExclude PHP Méthode

testLogWithExclude() public méthode

public testLogWithExclude ( $repository )
    public function testLogWithExclude($repository)
    {
        $ref = new PushReference($repository, 'foo', PushReference::ZERO, self::LONGFILE_COMMIT);
        $log = $ref->getLog(array(self::INITIAL_COMMIT))->getCommits();
        $this->assertEquals(7, count($log), '7 commits in log');
        $this->assertEquals('add a long file', $log[0]->getShortMessage(), 'First commit is correct');
    }