From 790afb211aa9a3a551b92cb0d517f63e3378bd8e Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 18 Jun 2014 11:04:18 +1200 Subject: [PATCH] BUG Fix test case not elegantly failing on missing phockito --- tests/SolrIndexVersionedTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/SolrIndexVersionedTest.php b/tests/SolrIndexVersionedTest.php index e4c046a..d51a023 100644 --- a/tests/SolrIndexVersionedTest.php +++ b/tests/SolrIndexVersionedTest.php @@ -137,6 +137,7 @@ class SolrVersionedTest_Index extends SolrIndex { } } +if (!class_exists('Phockito')) return; class SolrDocumentMatcher extends Hamcrest_BaseMatcher {