Skip to content

[MonologBridge] Added a test case for the Logger class #16850

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

Merged
merged 1 commit into from
Dec 5, 2015

Conversation

derrabus
Copy link
Member

@derrabus derrabus commented Dec 5, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR none

So far, there is no test case that ensures that the Symfony\Bridge\Monolog\Logger can be instantiated. Because of this, bug #16837 was not discovered by the tests. This PR adds a simple test case that tests some basic functionality of that particular class.

@stof
Copy link
Member

stof commented Dec 5, 2015

Rather than testing the legacy APIs only, we should have tests covering the non-deprecated APIs too (so that we can have tests which are kept when merging into 3.0)

@derrabus
Copy link
Member Author

derrabus commented Dec 5, 2015

Yeah, good point. I've added some non-legacy tests.

@stof
Copy link
Member

stof commented Dec 5, 2015

Thanks @derrabus.

@stof stof merged commit 78c0a6e into symfony:2.3 Dec 5, 2015
stof added a commit that referenced this pull request Dec 5, 2015
…derrabus)

This PR was merged into the 2.3 branch.

Discussion
----------

[MonologBridge] Added a test case for the Logger class

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | none

So far, there is no test case that ensures that the `Symfony\Bridge\Monolog\Logger` can be instantiated. Because of this, bug #16837 was not discovered by the tests. This PR adds a simple test case that tests some basic functionality of that particular class.

Commits
-------

78c0a6e Added a test case for the Logger class.
@derrabus derrabus deleted the 2.3-logger-test branch December 5, 2015 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants