Skip to content

Commit

Permalink
docs: update use statements in fixture loading example (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
cngJo authored Nov 19, 2024
1 parent 6a8f7d7 commit 19aa261
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ final class ProductFixture extends AbstractFixture implements HasDependencies
To load fixtures in Tests, we offer the `SelectiveFixtureLoader`. To streamline your test setup, we recommend creating a base class with a method to load fixtures via the `SelectiveFixtureLoader`. Here's an example demonstrating how to implement this.

```php
use Neusta\Pimcore\FixtureBundle\Fixture;
use Neusta\Pimcore\FixtureBundle\Fixture\Fixture;
use Neusta\Pimcore\FixtureBundle\FixtureLoader\SelectiveFixtureLoader;
use Pimcore\Test\KernelTestCase;
abstract class BaseKernelTestCase extends KernelTestCase
Expand Down

0 comments on commit 19aa261

Please sign in to comment.