@@ -68,7 +68,7 @@ protected function setUp()
6868 */
6969 public function testDefaultNotReallyRestrictiveSettings ()
7070 {
71- $ checker = $ this ->getChecker ();
71+ $ this -> assertNotNull ( $ checker = $ this ->getChecker () );
7272
7373 $ parameters = $ this ->parser ->parse (
7474 $ this ->prepareRequest ($ this ->requestParams )
@@ -82,10 +82,10 @@ public function testDefaultNotReallyRestrictiveSettings()
8282 */
8383 public function testAllowedInputPaths ()
8484 {
85- $ checker = $ this ->getChecker (
85+ $ this -> assertNotNull ( $ checker = $ this ->getChecker (
8686 false ,
8787 ['author ' , 'comments ' , 'comments.author ' , 'and.one.more.path ' ]
88- );
88+ )) ;
8989
9090 $ parameters = $ this ->parser ->parse (
9191 $ this ->prepareRequest ($ this ->requestParams )
@@ -123,11 +123,11 @@ public function testNotAllowedInputPaths()
123123 */
124124 public function testAllowedFieldSets ()
125125 {
126- $ checker = $ this ->getChecker (
126+ $ this -> assertNotNull ( $ checker = $ this ->getChecker (
127127 false ,
128128 null ,
129129 ['type1 ' => ['fields1 ' , 'fields2 ' , 'fields3 ' ],]
130- );
130+ )) ;
131131
132132 $ parameters = $ this ->parser ->parse (
133133 $ this ->prepareRequest ($ this ->requestParams )
@@ -141,11 +141,11 @@ public function testAllowedFieldSets()
141141 */
142142 public function testAllowedAllFieldSets ()
143143 {
144- $ checker = $ this ->getChecker (
144+ $ this -> assertNotNull ( $ checker = $ this ->getChecker (
145145 false ,
146146 null ,
147147 ['type1 ' => null ] // all fields are allowed for type1
148- );
148+ )) ;
149149
150150 $ parameters = $ this ->parser ->parse (
151151 $ this ->prepareRequest ($ this ->requestParams )
@@ -267,12 +267,12 @@ public function testNotAllowedFieldSets()
267267 public function testAllowedSearchParams ()
268268 {
269269 $ allowedSortParams = ['created ' , 'title ' , 'name.with.dots ' , 'and-others ' ];
270- $ checker = $ this ->getChecker (
270+ $ this -> assertNotNull ( $ checker = $ this ->getChecker (
271271 false ,
272272 null ,
273273 null ,
274274 $ allowedSortParams
275- );
275+ )) ;
276276
277277 $ parameters = $ this ->parser ->parse (
278278 $ this ->prepareRequest ($ this ->requestParams )
@@ -314,9 +314,9 @@ public function testNotAllowedSortParams()
314314 */
315315 public function testAllowedUnrecognizedParameters ()
316316 {
317- $ checker = $ this ->getChecker (
317+ $ this -> assertNotNull ( $ checker = $ this ->getChecker (
318318 true
319- );
319+ )) ;
320320
321321 $ parameters = $ this ->parser ->parse (
322322 $ this ->prepareRequest (
0 commit comments