Fixed guzzlehttp uri for mail
This commit is contained in:
parent
72e5b83101
commit
e874457008
@ -8,5 +8,5 @@ actor_suffix: Tester
|
|||||||
extensions:
|
extensions:
|
||||||
enabled:
|
enabled:
|
||||||
- Codeception\Extension\RunFailed
|
- Codeception\Extension\RunFailed
|
||||||
# settings:
|
settings:
|
||||||
# bootstrap: _bootstrap.php
|
bootstrap: _bootstrap.php
|
||||||
|
@ -65,7 +65,7 @@ class AcceptanceTester extends \Codeception\Actor
|
|||||||
$I->requestEmailResetPasswordLink($I);
|
$I->requestEmailResetPasswordLink($I);
|
||||||
|
|
||||||
$this->mailcatcher = new GuzzleHttp\Client([
|
$this->mailcatcher = new GuzzleHttp\Client([
|
||||||
'base_uri' => 'http://localhost:8025/api/v1/'
|
'base_uri' => env('MAIL_GUZZLEURI')
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$this->mail = $this->getLastMessage($this->mailcatcher);
|
$this->mail = $this->getLastMessage($this->mailcatcher);
|
||||||
|
@ -1 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$dotenv = new Dotenv\Dotenv(dirname(dirname(__DIR__)));
|
||||||
|
$dotenv->load();
|
||||||
|
1
tests/functional/_bootstrap.php
Normal file
1
tests/functional/_bootstrap.php
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?php
|
Loading…
Reference in New Issue
Block a user