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

Codecoverage for prepareUri #53

Merged
merged 8 commits into from
Jul 26, 2016
Merged

Codecoverage for prepareUri #53

merged 8 commits into from
Jul 26, 2016

Conversation

ruebot
Copy link
Member

@ruebot ruebot commented Jul 22, 2016

Partially addresses Islandora/documentation#282

@codecov-io
Copy link

codecov-io commented Jul 22, 2016

Current coverage is 92.79% (diff: 100%)

Merging #53 into master will increase coverage by 5.85%

@@             master        #53   diff @@
==========================================
  Files             4          4          
  Lines           222        222          
  Methods          36         36          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            193        206    +13   
+ Misses           29         16    -13   
  Partials          0          0          

Powered by Codecov. Last update 416f5a5...5fc96af

$this->assertEquals($client->getBaseUri(), 'http://localhost:8080/fcrepo/rest');

$result = $client->createResource();
$this->assertSame($result, 'http://localhost:8080/fcrepo/rest/tx:abc-123');
Copy link
Member Author

Choose a reason for hiding this comment

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

@DiegoPino, @whikloj I added another mock handler to try and cover this createTransaction function. Does this make sense?

Copy link
Member Author

Choose a reason for hiding this comment

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

Blerg. It didn't cover it. So back to square one there.

@whikloj whikloj merged commit a0b06b6 into Islandora:master Jul 26, 2016
@ruebot ruebot deleted the jaredsidea branch July 27, 2016 17:05
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