Skip to content

Magento\TestFramework\Annotation\ConfigFixture Error #39182

Closed
@SergeLavrentyev

Description

@SergeLavrentyev

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

Metadata

Metadata

Assignees

Labels

Area: FrameworkComponent: TestFrameworkIssue: needs updateAdditional information is require, waiting for responseReported on 2.4.xIndicates original Magento version for the Issue report.Triage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions