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..

Hello, I have another problem with codeception πŸ™‚ I have `spryker/testify:3.41.

USZB5JN4W
USZB5JN4W Posts: 112 πŸ§‘πŸ»β€πŸš€ - Cadet

Hello,
I have another problem with codeception πŸ™‚ I have spryker/testify:3.41.0 and when i try to use canSeeResponseDataContainsSingleResourceOfType from \SprykerTest\Glue\Testify\Helper\GlueRest, i’m getting error [Error] Call to undefined method SprykerTest\Glue\Testify\Helper\JsonPath::assertArraySubset(). It looks like it uses vendor/dms/phpunit-arraysubset-asserts/src/ArraySubsetAssertsEmpty.php which doesn’t contain this method, instead of vendor/dms/phpunit-arraysubset-asserts/src/ArraySubsetAsserts.php. @U017BL99B1V I think you know a lot about tests in Spryker πŸ™‚ Could you please check this? πŸ™‚

Comments

  • U01T075RRHD
    U01T075RRHD Posts: 118 πŸ§‘πŸ»β€πŸš€ - Cadet
    edited November 2021

    Do you have the Asserts module enabled for your test suite?

  • USZB5JN4W
    USZB5JN4W Posts: 112 πŸ§‘πŸ»β€πŸš€ - Cadet

    yes