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

Export mode in tests fails with error #18

Open
DenTray opened this issue May 29, 2024 · 1 comment
Open

Export mode in tests fails with error #18

DenTray opened this issue May 29, 2024 · 1 comment
Assignees

Comments

@DenTray
Copy link
Collaborator

DenTray commented May 29, 2024

Steps to reproduce:

  1. Enable export mode in some assertEqualsFixture
  2. Run tests

Actual results:

Failing error RonasIT\Support\Exceptions\ForbiddenExportModeException : Looks like you try to export fixture. If you see this message while running tests in the local environment - please set FAIL_EXPORT_JSON=false to .env.testing.

Expected result:

Not errors, content imported to fixture

ulin-evgeny added a commit that referenced this issue Jun 2, 2024
Also corrected fixtures so that tests would pass.
DenTray added a commit that referenced this issue Jun 6, 2024
#18: Added inclusion of .env files in tests
@ulin-evgeny
Copy link
Contributor

Done.

@ulin-evgeny ulin-evgeny assigned DenTray and unassigned ulin-evgeny Jun 8, 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

No branches or pull requests

2 participants