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 Agent and Person Code Coverage. #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

WillSkates
Copy link

No description provided.

@@ -54,14 +54,11 @@ public function asVersion($version) {
if (! empty($versioned_acct)) {
$result['account'] = $versioned_acct;
}
}
elseif (isset($this->mbox_sha1sum)) {
} else if (isset($this->mbox_sha1sum)) {
Copy link
Author

Choose a reason for hiding this comment

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

For some reason phpcc won't consider these lines covered when written like this:

elseif (condition) {
}
elseif (condition) {
}

This might just be me but I don't think so.

@WillSkates
Copy link
Author

Seems like it's failing due to an existing error. This should be fine to merge.

@garemoko
Copy link
Contributor

I can't obviously see how the latest changes would cause the tests to fail, but odd that the current master is passing.

I'd be tempted to do a fake PR of an additional code comment and see if that fails in the same way too.

@WillSkates
Copy link
Author

Yeah it is strange. Let me know how you get on. It may have just been that Scorm Cloud was having issues at the time. I'll reopen this to trigger the build again.

@WillSkates
Copy link
Author

Now that it's been a couple of days lets check it again.

@WillSkates WillSkates closed this Jan 31, 2017
@WillSkates WillSkates reopened this Jan 31, 2017
@WillSkates
Copy link
Author

@garemoko Seems like an issue with Scorm Cloud. Is it normal to submit a ticket for this kind of thing?

@garemoko
Copy link
Contributor

garemoko commented Feb 3, 2017

@WillSkates you could drop an email to [email protected]

Have you tried running the tests against another LRS?

@WillSkates
Copy link
Author

@garemoko I haven't. I'll try it again later tonight. Did you have any success?

@WillSkates
Copy link
Author

Apologies as I still haven't had a chance to look at this. I'll reopen to see if the issue has fixed itself.

@WillSkates WillSkates closed this Feb 21, 2017
@WillSkates WillSkates reopened this Feb 21, 2017
@WillSkates
Copy link
Author

Quick google around suggests that the issue is at the other end. Looks like a java exception that's being thrown somewhere.

@WillSkates WillSkates closed this Mar 20, 2017
@WillSkates WillSkates reopened this Mar 20, 2017
This is to avoid the namespacing changes that come in PHPUnit 6.
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