diff --git a/tests/bb-modules/Currency/Api/Api_AdminTest.php b/tests/bb-modules/Currency/Api/Api_AdminTest.php index beb6e03c7..c80601ecb 100644 --- a/tests/bb-modules/Currency/Api/Api_AdminTest.php +++ b/tests/bb-modules/Currency/Api/Api_AdminTest.php @@ -220,7 +220,7 @@ class AdminTest extends \PHPUnit_Framework_TestCase $service->expects($this->atLeastOnce()) ->method('getByCode') ->will($this->returnValue($model)); - $serviceMock->expects($this->atLeastOnce()) + $service->expects($this->atLeastOnce()) ->method('toApiArray') ->will($this->returnValue(array()));