diff --git a/tests/Api/V1/Controllers/AccountControllerTest.php b/tests/Api/V1/Controllers/AccountControllerTest.php index d5a3145f24..932e2c9e55 100644 --- a/tests/Api/V1/Controllers/AccountControllerTest.php +++ b/tests/Api/V1/Controllers/AccountControllerTest.php @@ -1,7 +1,7 @@ artisan('firefly-iii:csv-import ' . implode(' ', $parameters)) ->expectsOutput(sprintf('Import file : %s', $file)) ->expectsOutput(sprintf('Configuration file : %s', $config)) - ->expectsOutput('User : #1 (thegrumpydictator@gmail.com)') + ->expectsOutput('User : #1 (james@firefly-iii.org)') ->expectsOutput(sprintf('Job : %s', $importJob->key)) ->assertExitCode(0); @@ -184,7 +184,7 @@ class CreateCSVImportTest extends TestCase $this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters)) ->expectsOutput(sprintf('Import file : %s', $file)) ->expectsOutput(sprintf('Configuration file : %s', $config)) - ->expectsOutput('User : #1 (thegrumpydictator@gmail.com)') + ->expectsOutput('User : #1 (james@firefly-iii.org)') ->expectsOutput(sprintf('Job : %s', $importJob->key)) ->expectsOutput('No transactions have been imported :(.') ->assertExitCode(0); @@ -258,7 +258,7 @@ class CreateCSVImportTest extends TestCase $this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters)) ->expectsOutput(sprintf('Import file : %s', $file)) ->expectsOutput(sprintf('Configuration file : %s', $config)) - ->expectsOutput('User : #1 (thegrumpydictator@gmail.com)') + ->expectsOutput('User : #1 (james@firefly-iii.org)') ->expectsOutput(sprintf('Job : %s', $importJob->key)) ->expectsOutput('- I am an error') ->assertExitCode(0); @@ -321,7 +321,7 @@ class CreateCSVImportTest extends TestCase $this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters)) ->expectsOutput(sprintf('Import file : %s', $file)) ->expectsOutput(sprintf('Configuration file : %s', $config)) - ->expectsOutput('User : #1 (thegrumpydictator@gmail.com)') + ->expectsOutput('User : #1 (james@firefly-iii.org)') ->expectsOutput(sprintf('Job : %s', $importJob->key)) ->expectsOutput('The import routine crashed: I am storage error.') ->assertExitCode(1); @@ -378,7 +378,7 @@ class CreateCSVImportTest extends TestCase $this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters)) ->expectsOutput(sprintf('Import file : %s', $file)) ->expectsOutput(sprintf('Configuration file : %s', $config)) - ->expectsOutput('User : #1 (thegrumpydictator@gmail.com)') + ->expectsOutput('User : #1 (james@firefly-iii.org)') ->expectsOutput(sprintf('Job : %s', $importJob->key)) ->expectsOutput('The import routine crashed: I am big bad exception.') ->assertExitCode(1); @@ -429,7 +429,7 @@ class CreateCSVImportTest extends TestCase $this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters)) ->expectsOutput(sprintf('Import file : %s', $file)) ->expectsOutput(sprintf('Configuration file : %s', $config)) - ->expectsOutput('User : #1 (thegrumpydictator@gmail.com)') + ->expectsOutput('User : #1 (james@firefly-iii.org)') ->expectsOutput(sprintf('Job : %s', $importJob->key)) ->expectsOutput('Some file error.') ->assertExitCode(1); diff --git a/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php b/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php index 93bfcb456a..57b1b7c0e6 100644 --- a/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php +++ b/tests/Unit/Console/Commands/Integrity/ReportEmptyObjectsTest.php @@ -1,7 +1,7 @@ hasTo('thegrumpydictator@gmail.com') && '127.0.0.1' === $mail->ipAddress; + return $mail->hasTo('james@firefly-iii.org') && '127.0.0.1' === $mail->ipAddress; } ); diff --git a/tests/Unit/Handlers/Events/AdminEventHandlerTest.php b/tests/Unit/Handlers/Events/AdminEventHandlerTest.php index 290acad0a5..d5bd1d6d59 100644 --- a/tests/Unit/Handlers/Events/AdminEventHandlerTest.php +++ b/tests/Unit/Handlers/Events/AdminEventHandlerTest.php @@ -1,7 +1,7 @@ hasTo('thegrumpydictator@gmail.com') && '127.0.0.1' === $mail->ipAddress; + return $mail->hasTo('james@firefly-iii.org') && '127.0.0.1' === $mail->ipAddress; } ); diff --git a/tests/Unit/Handlers/Events/AutomationHandlerTest.php b/tests/Unit/Handlers/Events/AutomationHandlerTest.php index 211c078e46..58d3c9e668 100644 --- a/tests/Unit/Handlers/Events/AutomationHandlerTest.php +++ b/tests/Unit/Handlers/Events/AutomationHandlerTest.php @@ -1,7 +1,7 @@ hasTo('thegrumpydictator@gmail.com') && '127.0.0.1' === $mail->ipAddress; + return $mail->hasTo('james@firefly-iii.org') && '127.0.0.1' === $mail->ipAddress; } ); } diff --git a/tests/Unit/Handlers/Events/StoredGroupEventHandlerTest.php b/tests/Unit/Handlers/Events/StoredGroupEventHandlerTest.php index 63a3c00584..c8e0a4f3e8 100644 --- a/tests/Unit/Handlers/Events/StoredGroupEventHandlerTest.php +++ b/tests/Unit/Handlers/Events/StoredGroupEventHandlerTest.php @@ -1,7 +1,7 @@