-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There are probably still some other tests that could be added but it is definitely a step forward |
|
||
$this->updateDatabaseBySchema( $schemaTo ); | ||
|
||
$this->assertArrayNotHasKey( |
There was a problem hiding this comment.
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 :)
slightly refactored and extended updater testes
follow up to #14