@@ 61-69 (lines=9) @@ | ||
58 | $this->assertFalse($information['is_local']); |
|
59 | } |
|
60 | ||
61 | public function testCorrectProjectInformation() |
|
62 | { |
|
63 | $information = $this->installer->extractInformationFromPath( |
|
64 | '/Users/tijs/Sites/foo/bar' |
|
65 | ); |
|
66 | ||
67 | $this->assertEquals('foo', $information['client']); |
|
68 | $this->assertEquals('bar', $information['project']); |
|
69 | } |
|
70 | ||
71 | public function testNotCorrectProjectInformation() |
|
72 | { |
|
@@ 71-79 (lines=9) @@ | ||
68 | $this->assertEquals('bar', $information['project']); |
|
69 | } |
|
70 | ||
71 | public function testNotCorrectProjectInformation() |
|
72 | { |
|
73 | $information = $this->installer->extractInformationFromPath( |
|
74 | '/home/sumocoders/apps/foo/bar/releases/20150415160001' |
|
75 | ); |
|
76 | ||
77 | $this->assertNull($information['client']); |
|
78 | $this->assertNull($information['project']); |
|
79 | } |
|
80 | ||
81 | public function testValidUpdateCapfile() |
|
82 | { |