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

Improving tests (date and tidy-service) #28

Merged
merged 3 commits into from
Sep 18, 2015
Merged

Improving tests (date and tidy-service) #28

merged 3 commits into from
Sep 18, 2015

Conversation

rraub
Copy link
Contributor

@rraub rraub commented Sep 18, 2015

Improved test coverage for tidy-service.
The timezone specification should be in all php setups, however if you happen to have it set to not UTC you get a test failure because the date() will convert to whatever the local timezone is.

Ryan Raub added 2 commits September 18, 2015 12:48
…ents.

Currently if the php timezone is defined as anything not UTC the date test will fail.
fixed an edge case for adding '...' for when the content was the exact length of the limit
@idmontie
Copy link
Contributor

Is tidy enabled by default on Travis?

@rraub
Copy link
Contributor Author

rraub commented Sep 18, 2015

Looks like it, travis doesn't error out and the coverage shows it skips right over that check https://coveralls.io/builds/3613775/source?filename=src%2Fservices%2Ftidy-service.php#L28

I got one more test case to add before we merge this in..

idmontie added a commit that referenced this pull request Sep 18, 2015
Improving tests (date and tidy-service)
@idmontie idmontie merged commit 8596881 into develop Sep 18, 2015
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.

None yet

2 participants