Skip to content

Commit

Permalink
Merge pull request #50 from tractorcow/pulls/phockito-failover
Browse files Browse the repository at this point in the history
BUG Fix test case not elegantly failing on missing phockito
  • Loading branch information
halkyon committed Aug 21, 2014
2 parents e22d605 + 790afb2 commit 2ba90f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/SolrIndexVersionedTest.php
Expand Up @@ -137,6 +137,7 @@ function init() {
}
}

if (!class_exists('Phockito')) return;

class SolrDocumentMatcher extends Hamcrest_BaseMatcher {

Expand Down

0 comments on commit 2ba90f4

Please sign in to comment.