13 $this->assertTrue( $gitInfo->cacheIsComplete() );
14 $this->assertEquals(
'refs/heads/master', $gitInfo->getHead() );
15 $this->assertEquals(
'0123456789abcdef0123456789abcdef01234567',
16 $gitInfo->getHeadSHA1() );
17 $this->assertEquals(
'1070884800', $gitInfo->getHeadCommitDate() );
18 $this->assertEquals(
'master', $gitInfo->getCurrentBranch() );
19 $this->assertContains(
'0123456789abcdef0123456789abcdef01234567',
20 $gitInfo->getHeadViewUrl() );
34 $this->assertFalse( $fixture->cacheIsComplete() );
36 $this->assertEquals(
false, $fixture->getHead() );
37 $this->assertEquals(
false, $fixture->getHeadSHA1() );
38 $this->assertEquals(
false, $fixture->getHeadCommitDate() );
39 $this->assertEquals(
false, $fixture->getCurrentBranch() );
40 $this->assertEquals(
false, $fixture->getHeadViewUrl() );
43 $this->assertTrue( $fixture->cacheIsComplete() );