File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ default:
66 suites :
77 default :
88 contexts :
9- - rpkamp \Behat\MailhogExtension \Context\MailhogContext
9+ - LibreSign \Behat\MailpitExtension \Context\MailpitContext
1010 - FeatureContext
1111 paths :
1212 - ' %paths.base%/../features'
1313
1414 extensions :
15- rpkamp \Behat\MailhogExtension :
15+ LibreSign \Behat\MailpitExtension\ServiceContainer\MailpitExtension :
1616 base_url : http://mailpit:8025
1717 PhpBuiltin\Server :
1818 runAs : www-data
Original file line number Diff line number Diff line change 1313use Behat \Testwork \Hook \Scope \BeforeSuiteScope ;
1414use Libresign \NextcloudBehat \NextcloudApiContext ;
1515use PHPUnit \Framework \Assert ;
16- use rpkamp \Behat \MailhogExtension \Context \OpenedEmailStorageAwareContext ;
17- use rpkamp \Behat \MailhogExtension \Service \OpenedEmailStorage ;
16+ use LibreSign \Behat \MailpitExtension \Context \OpenedEmailStorageAwareContext ;
17+ use LibreSign \Behat \MailpitExtension \Service \OpenedEmailStorage ;
1818
1919/**
2020 * Defines application features from the specific context.
@@ -82,7 +82,7 @@ public function followTheLinkOnOpenedEmail(): void {
8282 throw new RuntimeException ('No email opened, unable to do something! ' );
8383 }
8484
85- /** @var \rpkamp\Mailhog \Message\Message $openedEmail */
85+ /** @var \LibreSign\Mailpit \Message\Message $openedEmail */
8686 $ openedEmail = $ this ->openedEmailStorage ->getOpenedEmail ();
8787 preg_match ('/p\/sign\/(?<uuid>[\w-]+)"/ ' , $ openedEmail ->body , $ matches );
8888
You can’t perform that action at this time.
0 commit comments