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 and improved tests to increase coverage 2 #13
Conversation
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.
just a few visual bits.
Tests/Integration/CommandTest.php
Outdated
|
||
$command = $application->find('onehydra:fetch'); | ||
$commandTester = new CommandTester($command); | ||
$commandTester->execute(['command' => $command->getName(), '--programId' => 'incorrectProramId']); |
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.
typo ProramId
$this->oneHydraPage->setCreatedAt($date); | ||
$this->assertEquals($date, $this->oneHydraPage->getCreatedAt()); | ||
} | ||
} |
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.
missing new line
} | ||
|
||
|
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.
👾
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.
👍
https://trello.com/c/o8AGGg44/5032-amaraonehydrabundle-to-100-coverage
Previous: #11