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

added updater tests #15

Merged
merged 13 commits into from
Aug 3, 2015
Merged

added updater tests #15

merged 13 commits into from
Aug 3, 2015

Conversation

WMDE-Fisch
Copy link
Contributor

slightly refactored and extended updater testes

follow up to #14

wmde-manicki pushed a commit that referenced this pull request Aug 3, 2015
@wmde-manicki wmde-manicki merged commit 2f433f3 into master Aug 3, 2015
@wmde-manicki wmde-manicki deleted the update-tests branch August 3, 2015 15:06
@wmde-manicki
Copy link

There are probably still some other tests that could be added but it is definitely a step forward


$this->updateDatabaseBySchema( $schemaTo );

$this->assertArrayNotHasKey(
Copy link
Contributor

Choose a reason for hiding this comment

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

This violates Arrange Act Assert. As does the change I made to the already existing test a few days ago. In this case I think it makes sense to break the rule, though do keep it in mind for other things. Just saying - this commit is perfectly fine - I want to avoid starting a series of actually bad AAA violations :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants