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

#176: Move global export mode to FixturesTrait #182

Merged
merged 7 commits into from
Jan 13, 2025

Conversation

yogyrton
Copy link
Contributor

@yogyrton yogyrton commented Jan 9, 2025

Comment on lines 42 to 43
$this->executeGlobalExportModeTest('prepareModelTestState', TestModel::class, true);
$this->executeGlobalExportModeTest('prepareModelTestState', TestModel::class, false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use data providers instead

$this->assertEquals($testCaseGlobalExportMode, $actualGlobalExportModeValue);
}

protected function getRetrieveGlobalExportModeState(string $methodName, string $entity, bool $testCaseGlobalExportMode): bool
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
protected function getRetrieveGlobalExportModeState(string $methodName, string $entity, bool $testCaseGlobalExportMode): bool
protected function mockTestStateCreationSetGlobalExportMode(string $methodName, string $entity, bool $testCaseGlobalExportMode): bool

@DenTray DenTray assigned yogyrton and unassigned DenTray Jan 10, 2025
@yogyrton yogyrton assigned DenTray and unassigned yogyrton Jan 10, 2025
@DenTray DenTray merged commit 34e0a8b into master Jan 13, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants