From 304b4d7958484a8d04a707da6970d73e271e39cc Mon Sep 17 00:00:00 2001 From: Mantas Simkus <mantas.simkus@ongr.io> Date: Fri, 27 Mar 2015 12:38:32 +0200 Subject: [PATCH] changed tearDown function --- Query/Span/SpanFirstQueryTest.php | 2 +- Query/Span/SpanMultiTermQueryTest.php | 2 +- Query/Span/SpanNearQueryTest.php | 2 +- Query/Span/SpanNotQueryTest.php | 2 +- Query/Span/SpanOrQueryTest.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Query/Span/SpanFirstQueryTest.php b/Query/Span/SpanFirstQueryTest.php index 6805ed4..9b1e4d1 100644 --- a/Query/Span/SpanFirstQueryTest.php +++ b/Query/Span/SpanFirstQueryTest.php @@ -43,7 +43,7 @@ class SpanFirstQueryTest extends \PHPUnit_Framework_TestCase */ public function tearDown() { - $this->mock = null; + unset($this->mock); } /** diff --git a/Query/Span/SpanMultiTermQueryTest.php b/Query/Span/SpanMultiTermQueryTest.php index d692a26..dbbfe4e 100644 --- a/Query/Span/SpanMultiTermQueryTest.php +++ b/Query/Span/SpanMultiTermQueryTest.php @@ -49,7 +49,7 @@ class SpanMultiTermQueryTest extends \PHPUnit_Framework_TestCase */ public function tearDown() { - $this->mock = null; + unset($this->mock); } /** diff --git a/Query/Span/SpanNearQueryTest.php b/Query/Span/SpanNearQueryTest.php index 0962be4..ebdcfbc 100644 --- a/Query/Span/SpanNearQueryTest.php +++ b/Query/Span/SpanNearQueryTest.php @@ -43,7 +43,7 @@ class SpanNearQueryTest extends \PHPUnit_Framework_TestCase */ public function tearDown() { - $this->mock = null; + unset($this->mock); } /** diff --git a/Query/Span/SpanNotQueryTest.php b/Query/Span/SpanNotQueryTest.php index 891b80e..df6856a 100644 --- a/Query/Span/SpanNotQueryTest.php +++ b/Query/Span/SpanNotQueryTest.php @@ -43,7 +43,7 @@ class SpanNotQueryTest extends \PHPUnit_Framework_TestCase */ public function tearDown() { - $this->mock = null; + unset($this->mock); } /** diff --git a/Query/Span/SpanOrQueryTest.php b/Query/Span/SpanOrQueryTest.php index 67aeb81..d69e550 100644 --- a/Query/Span/SpanOrQueryTest.php +++ b/Query/Span/SpanOrQueryTest.php @@ -43,7 +43,7 @@ class SpanOrQueryTest extends \PHPUnit_Framework_TestCase */ public function tearDown() { - $this->mock = null; + unset($this->mock); } /** -- GitLab