Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#140: Global export mode not affect for email testing #159

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yogyrton
Copy link
Contributor

@yogyrton yogyrton commented Dec 5, 2024

@yogyrton yogyrton assigned aizlee and yogyrton and unassigned aizlee Dec 5, 2024
@yogyrton yogyrton assigned aizlee and unassigned yogyrton Dec 5, 2024
src/Traits/MailsMockTrait.php Outdated Show resolved Hide resolved
@aizlee aizlee assigned yogyrton and unassigned aizlee Dec 6, 2024
@yogyrton yogyrton assigned aizlee and unassigned yogyrton Dec 6, 2024
@aizlee aizlee requested a review from DenTray December 9, 2024 04:24
@aizlee aizlee assigned DenTray and unassigned aizlee Dec 9, 2024
tests/MailsMockTraitTest.php Outdated Show resolved Hide resolved
tests/MailsMockTraitTest.php Outdated Show resolved Hide resolved
@DenTray DenTray assigned yogyrton and unassigned DenTray Dec 9, 2024
@yogyrton yogyrton assigned DenTray and unassigned yogyrton Dec 10, 2024
$this->mockedMail('test@mail.com', 'test_mail_with_global_export.html', 'Test Subject'),
]);

$this->assertFileExists($this->getFixturePath('test_mail_with_export.html'));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why you checking test_mail_with_export.html file, but asserting content with the test_mail_with_global_export.html?

@@ -0,0 +1,3 @@
<div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you using this fixture to check that globa export mode works fine and create file if it not exists. If you'll commit this file to git - test will always be successful completed even if global export mode will be broken

@DenTray DenTray assigned yogyrton and unassigned DenTray Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants