Skip to content

non-changing cleanups #156

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
Apr 5, 2015
Merged

non-changing cleanups #156

merged 1 commit into from
Apr 5, 2015

Conversation

dbu
Copy link
Member

@dbu dbu commented Mar 27, 2015

this should not change any behaviour, just cleaning up some code that i stumbled on while debugging failures.

*/
protected function skipIfNotSupported($descriptor)
{
if (false === $this->session->getRepository()->getDescriptor($descriptor)) {
$this->markTestSkipped('Descriptor "' . $descriptor . '" not supported');
return false;
Copy link
Member Author

Choose a reason for hiding this comment

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

markTestSkipped throws an exception to skip the test.

@lsmith77
Copy link
Member

lsmith77 commented Apr 3, 2015

looks good to me

dbu added a commit that referenced this pull request Apr 5, 2015
@dbu dbu merged commit 376e5e0 into master Apr 5, 2015
@dbu dbu deleted the cleanups branch April 5, 2015 08:59
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