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

Magento\TestFramework\Annotation\ConfigFixture Error #39182

Open
5 tasks
SergeLavrentyev opened this issue Sep 18, 2024 · 1 comment
Open
5 tasks

Magento\TestFramework\Annotation\ConfigFixture Error #39182

SergeLavrentyev opened this issue Sep 18, 2024 · 1 comment
Labels
Issue: ready for confirmation Reported on 2.4.x Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it

Comments

@SergeLavrentyev
Copy link

Preconditions and environment

  • Magento version 2.4.6-p3

Steps to reproduce

  1. create core_config _data with value = 0.
  2. add magentoConfigFixture to integration test @magentoConfigFixture example/path/test 1

Expected result

test passes

Actual result

Magento\TestFramework\App\ApiMutableScopeConfig::persistConfig(): Argument #2 ($value) must be of type string, null given, called in /repo/magento/dev/tests/api-functional/framework/Magento/TestFramework/App/ApiMutableScopeConfig.php on line 79

Additional information

After getting value from db, '0' converts to NULL here
magento/dev/tests/api-functional/framework/Magento/TestFramework/Annotation/ApiConfigFixture.php:158

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Copy link

m2-assistant bot commented Sep 18, 2024

Hi @SergeLavrentyev. Thank you for your report.
To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

@SergeLavrentyev SergeLavrentyev changed the title Magento\TestFramework\Annotation\ConfigFixture Magento\TestFramework\Annotation\ConfigFixture Error Sep 18, 2024
@engcom-Bravo engcom-Bravo added Reported on 2.4.x Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it labels Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: ready for confirmation Reported on 2.4.x Indicates original Magento version for the Issue report. Triage: Dev.Experience Issue related to Developer Experience and needs help with Triage to Confirm or Reject it
Projects
Status: Ready for Confirmation
Development

No branches or pull requests

2 participants