File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 66use PHPUnit \Framework \Attributes \Test ;
77use Statamic \Events \SubmissionCreated ;
88use Statamic \Events \UserRegistered ;
9- use Statamic \Facades \Form as FormAPI ;
9+ use Statamic \Facades \Form as FormFacade ;
1010use Statamic \Forms \Form ;
1111use Statamic \Forms \Submission ;
1212use StatamicRadPack \Mailchimp \Listeners \AddFromSubmission ;
@@ -23,17 +23,16 @@ protected function setUp(): void
2323 {
2424 parent ::setUp ();
2525
26- FormAPI ::all ()->each ->delete ();
26+ FormFacade ::all ()->each ->delete ();
2727
28- $ this ->form = FormAPI ::make ('contact_us ' )
28+ $ this ->form = FormFacade ::make ('contact_us ' )
2929 ->title ('Contact Us ' )
3030 ->honeypot ('winnie ' );
3131
3232 $ this ->form ->save ();
3333
3434 $ this ->submission = $ this ->form ->makeSubmission ();
35- $ this ->submission
36- ->data (['foo ' => 'bar ' ]);
35+ $ this ->submission ->data (['foo ' => 'bar ' ]);
3736 }
3837
3938 #[Test]
You can’t perform that action at this time.
0 commit comments