Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/4074'
Browse files Browse the repository at this point in the history
  • Loading branch information
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ResponseTest extends \PHPUnit_Framework_TestCase
/**
* @var bool
*/
protected $_errorOccured = false;
protected $_errorOccurred = false;

/**
* Setup environment
Expand Down Expand Up @@ -133,9 +133,9 @@ public function testExceptionIsThrownWhenInvalidXmlIsReturnedByServer()
set_error_handler(array($this, 'trackError'));
$invalidResponse = 'foo';
$response = new Response();
$this->assertFalse($this->_errorOccured);
$this->assertFalse($this->_errorOccurred);
$this->assertFalse($response->loadXml($invalidResponse));
$this->assertFalse($this->_errorOccured);
$this->assertFalse($this->_errorOccurred);
}

/**
Expand Down Expand Up @@ -242,7 +242,7 @@ public function testLoadXmlThrowsExceptionWithMissingNodes3()

public function trackError($error)
{
$this->_errorOccured = true;
$this->_errorOccurred = true;
}

/**
Expand Down

0 comments on commit ffed7ac

Please sign in to comment.