@@ -48,7 +48,7 @@ public function setUp()
4848
4949 public function testSuccessfulSearch ()
5050 {
51- $ result = $ this ->model :: search ('with results ' );
51+ $ result = $ this ->model -> search ('with results ' );
5252
5353 $ this ->assertInstanceOf ('Elasticquent\ElasticquentResultCollection ' , $ result );
5454 $ this ->assertEquals (2 , $ result ->totalHits ());
@@ -62,7 +62,7 @@ public function testSuccessfulSearch()
6262
6363 public function testUnsuccessfulSearch ()
6464 {
65- $ result = $ this ->model :: search ('with no results ' );
65+ $ result = $ this ->model -> search ('with no results ' );
6666
6767 $ expectedHits = [
6868 'total ' => 0 ,
@@ -82,17 +82,17 @@ public function testUnsuccessfulSearch()
8282
8383 public function testSearchWithEmptyParamters ()
8484 {
85- $ this ->model :: search ();
86- $ this ->model :: search (null );
87- $ this ->model :: search ('' );
85+ $ this ->model -> search ();
86+ $ this ->model -> search (null );
87+ $ this ->model -> search ('' );
8888
8989 $ this ->addToAssertionCount (3 ); // does not throw an exception
9090 }
9191
9292 public function testComplexSearch ()
9393 {
9494 $ params = complexParameters ();
95- $ result = $ this ->model :: complexSearch ($ params );
95+ $ result = $ this ->model -> complexSearch ($ params );
9696
9797 $ this ->assertInstanceOf ('Elasticquent\ElasticquentResultCollection ' , $ result );
9898 $ this ->assertEquals ($ this ->expectedHits , $ result ->getHits ());
0 commit comments