1 | <?php |
||
2 | |||
3 | namespace Ikechukwukalu\Clamavfileupload\Tests; |
||
4 | |||
5 | use Ikechukwukalu\Clamavfileupload\ClamavFileUploadServiceProvider; |
||
6 | |||
7 | class ServiceProviderTest extends TestCase |
||
8 | { |
||
9 | public function test_merges_config(): void |
||
10 | { |
||
11 | static::assertSame( |
||
12 | $this->app->make('files') |
||
0 ignored issues
–
show
|
|||
13 | ->getRequire(ClamavFileUploadServiceProvider::CONFIG), |
||
14 | $this->app->make('config')->get('clamavfileupload') |
||
15 | ); |
||
16 | } |
||
17 | |||
18 | public function test_loads_translations(): void |
||
19 | { |
||
20 | static::assertArrayHasKey('clamavfileupload', |
||
21 | $this->app->make('translator')->getLoader()->namespaces()); |
||
22 | } |
||
23 | } |
||
24 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.