Fixed guzzlehttp uri for mail
This commit is contained in:
parent
72e5b83101
commit
e874457008
@ -8,5 +8,5 @@ actor_suffix: Tester
|
||||
extensions:
|
||||
enabled:
|
||||
- Codeception\Extension\RunFailed
|
||||
# settings:
|
||||
# bootstrap: _bootstrap.php
|
||||
settings:
|
||||
bootstrap: _bootstrap.php
|
||||
|
@ -65,7 +65,7 @@ class AcceptanceTester extends \Codeception\Actor
|
||||
$I->requestEmailResetPasswordLink($I);
|
||||
|
||||
$this->mailcatcher = new GuzzleHttp\Client([
|
||||
'base_uri' => 'http://localhost:8025/api/v1/'
|
||||
'base_uri' => env('MAIL_GUZZLEURI')
|
||||
]);
|
||||
|
||||
$this->mail = $this->getLastMessage($this->mailcatcher);
|
||||
|
@ -1 +1,4 @@
|
||||
<?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