What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
(Untitled)
Comments
-
I think it doesn't do the full bootstrapping when running single tests.
Does it work if you run all tests?docker/sdk testing codecept run
0 -
I have these errors:
0 -
These values are populated by other config_default...php files. Seems that it doesn't happen in your case.
What's your APPLICATION_ENV when tests are executed?0 -
It will execute config_default-[APPLICATION_ENV].php on startup. Once you know what APPLICATION_ENV you're on, you can check if the propel config values are set inside this file.
0 -
APPLICATION_ENV is docker.test and the file config_deafult-docker.test.php does not exist. Is there a sample config file for testing?
0 -
Please check config_default.php. It should be loaded before any other config files.
0 -
I have config from config_default-docker.php and this call works now
docker/sdk testing codecept run -c tests/PyzTest/Zed/Product/codeception.yml
But this one does not
docker/sdk testing codecept run
Error:
In ErrorHandler.php line 83:
session_set_save_handler(): Cannot change save handler when headers already sent
0 -
That sounds familiar somehow...
Go to tests/_bootstrap.php and add this to the very end of the file.ob_start();
Let's see if it helps.
0 -
I have this error: βDeprecated: The resolvable class cache is enabled but was not generated. in /data/vendor/spryker/kernel/src/Spryker/Shared/Kernel/ClassResolver/ResolvableCache/CacheReader/CacheReaderPhp.php on line 33"
Thatβs why this error is displayed: βsession_set_save_handler(): Cannot change save handler when headers already sentβ.
0 -
We had that, too, but I don't remember anymore.
Please check your config files. In my project, I'm having$config[KernelConstants::RESOLVABLE_CLASS_NAMES_CACHE_ENABLED] = false;
in config_default-devtest.php.
Hoping that this will fix it.0 -
Thanks, the tests are now running, but many are failing. I think it may still be problems in the config.
0 -
Might be, I'm sure you'll find out.
π0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 80 Spryker News
- 954 Developer Corner
- 810 Spryker Development
- 91 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 27 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random