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 FileLogger and added Unit tests #2

Merged
merged 2 commits into from
Mar 24, 2017

Conversation

emulgeator
Copy link
Contributor

I had to change a few things because of the strict types and in the meanwhile I had to debug quite a lot. Therefore I decided to introduce a few unit tests to save some time.
What's important is that we should really add the helpers to the DI in the yapep sooner or later to be able to mock them out easily.

@emulgeator emulgeator requested a review from szeber March 23, 2017 19:16
@emulgeator emulgeator self-assigned this Mar 23, 2017
Copy link
Contributor

@szeber szeber left a comment

Choose a reason for hiding this comment

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

LGTM, but please also look into upgrading to phpunit 6

composer.json Outdated
@@ -14,7 +14,8 @@
"require-dev": {
"aws/aws-sdk-php": "^3.18",
"phpunit/phpunit": "^5.7",
Copy link
Contributor

Choose a reason for hiding this comment

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

We should consider upgrading phpunit to 6 as well

/**
* Base test class for the unit tests of the DbHelperAbstract.
*/
abstract class DbHelperAbstractTestAbstract extends TestAbstract
Copy link
Contributor

Choose a reason for hiding this comment

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

That's a mouthfull of a name...

@emulgeator emulgeator merged commit 1bb9c63 into master Mar 24, 2017
@szeber szeber deleted the file_logger_and_unit_tests branch April 16, 2017 08:32
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