Skip to content

Commit

Permalink
Merge branch 'danwall-fix-phpunit-testdox't push origin master
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyWay committed Apr 28, 2015
2 parents 8b5d123 + 83182ab commit 6145a04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Extensions/IntegrationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function setUp()
parent::setUp();

$this->callMethods(
$this->getAnnotations()->having('setUp')
$this->annotations()->having('setUp')
);
}

Expand Down Expand Up @@ -651,7 +651,7 @@ protected function loadPreferredConfigFile()
*
* @return AnnotationReader
*/
public function getAnnotations()
public function annotations()
{
if (! $this->annotations) {
$this->annotations = new AnnotationReader($this);
Expand Down Expand Up @@ -691,7 +691,7 @@ protected function callMethods(array $methods)
public function tearDown()
{
$this->callMethods(
array_reverse($this->getAnnotations()->having('tearDown'))
array_reverse($this->annotations()->having('tearDown'))
);
}

Expand Down

0 comments on commit 6145a04

Please sign in to comment.