Skip to content

Commit 67bb393

Browse files
committed
Fixture FQCN note
1 parent 0d7c0e6 commit 67bb393

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

en/development/testing.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -733,6 +733,17 @@ name::
733733
In the above example, both fixtures would be loaded from
734734
``tests/Fixture/Blog/``.
735735

736+
You can also directly include fixtures by FQCN::
737+
738+
public function getFixtures(): array
739+
{
740+
return [
741+
UsersFixture::class,
742+
ArticlesFixture::class,
743+
];
744+
}
745+
746+
736747
Fixture Factories
737748
-----------------
738749

0 commit comments

Comments
 (0)