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

Add unit tests, fix various bugs #10

Merged
merged 20 commits into from
Jul 17, 2019
Merged

Add unit tests, fix various bugs #10

merged 20 commits into from
Jul 17, 2019

Conversation

Josh-G
Copy link
Contributor

@Josh-G Josh-G commented Jul 16, 2019

Build Status codecov

This PR adds test coverage across the entire package.

Adding tests revealed a number of other bugs that have been resolved. Also added a travis CI/codecov config and badge.

We've had to change the way we expose our migrations, which has been documented in README.md

@Josh-G Josh-G self-assigned this Jul 16, 2019
@codecov
Copy link

codecov bot commented Jul 16, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@4d78624). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##             master    #10   +/-   ##
=======================================
  Coverage          ?   100%           
  Complexity        ?     54           
=======================================
  Files             ?      7           
  Lines             ?    164           
  Branches          ?      0           
=======================================
  Hits              ?    164           
  Misses            ?      0           
  Partials          ?      0
Impacted Files Coverage Δ Complexity Δ
src/Controllers/WebhookController.php 100% <ø> (ø) 6 <0> (?)
src/Models/Email.php 100% <100%> (ø) 1 <0> (?)
src/PostalServiceProvider.php 100% <100%> (ø) 4 <1> (?)
src/PostalTransport.php 100% <100%> (ø) 33 <21> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d78624...4a346bf. Read the comment docs.

Copy link
Member

@williamrenfrew williamrenfrew left a comment

Choose a reason for hiding this comment

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

👌

@Josh-G Josh-G merged commit 6fb3a03 into master Jul 17, 2019
@Josh-G Josh-G deleted the tests branch July 17, 2019 08:51
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.

3 participants