summaryrefslogtreecommitdiff
path: root/tests/Unit/ServiceProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/ServiceProviderTest.php')
-rw-r--r--tests/Unit/ServiceProviderTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/ServiceProviderTest.php b/tests/Unit/ServiceProviderTest.php
index bf9f5e3f..3a1c2f77 100644
--- a/tests/Unit/ServiceProviderTest.php
+++ b/tests/Unit/ServiceProviderTest.php
@@ -14,7 +14,7 @@ abstract class ServiceProviderTest extends TestCase
protected function getApp($methods = ['make', 'instance'])
{
return $this->getMockBuilder(Application::class)
- ->setMethods($methods)
+ ->onlyMethods($methods)
->getMock();
}
}