We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c390b commit e0f789aCopy full SHA for e0f789a
ux.symfony.com/tests/Functional/LiveComponentDemosTest.php
@@ -19,7 +19,7 @@
19
use Zenstruck\Foundry\Test\Factories;
20
use Zenstruck\Foundry\Test\ResetDatabase;
21
22
-use function Zenstruck\Foundry\create;
+use function Zenstruck\Foundry\Persistence\persist_proxy;
23
24
class LiveComponentDemosTest extends KernelTestCase
25
{
@@ -32,7 +32,7 @@ class LiveComponentDemosTest extends KernelTestCase
32
*/
33
public function setupEntities(): void
34
35
- create(Food::class, ['name' => 'Pizza', 'votes' => 10]);
+ persist_proxy(Food::class, ['name' => 'Pizza', 'votes' => 10]);
36
}
37
38
/**
0 commit comments