diff --git a/tests/TestCase.php b/tests/TestCase.php index 64faf36..cf22d23 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -20,8 +20,10 @@ public function mock(string $class, array $expects = []): MockClient ]); } - public function setUp(): void + protected function setUp(): void { + parent::setUp(); + $this->core = new CoreAPI('api-key'); } } \ No newline at end of file