Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | public function testGetGroups() |
||
19 | { |
||
20 | $context = $this->app->make( '\Aimeos\Shop\Base\Context' ); |
||
21 | $locale = $this->app->make( '\Aimeos\Shop\Base\Locale' ); |
||
22 | |||
23 | $ctx = $context->get( false ); |
||
24 | $ctx->setLocale( $locale->getBackend( $ctx, 'unittest' ) ); |
||
25 | |||
26 | $object = new \Aimeos\Shop\Base\Support( $context, $locale ); |
||
27 | |||
28 | $this->assertEquals( array(), $object->getGroups( $ctx ) ); |
||
29 | } |
||
31 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.