@@ -8,11 +8,11 @@ public function testCountPostsAction(ApiTester $I)
88 $ I ->amBearerAuthenticated ('Delta_secret_token ' );
99 $ I ->sendHEAD ('/post/count ' );
1010 $ I ->seeResponseCodeIs (204 );
11- $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , 54 );
11+ $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , ' 54 ' );
1212
1313 $ I ->sendHEAD ('/post/count ' , ['filter ' =>['category_id ' =>['neq ' =>3 ]]]);
1414 $ I ->seeResponseCodeIs (204 );
15- $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , 36 );
15+ $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , ' 36 ' );
1616 }
1717
1818 public function testCountPostsForCategoryAction (ApiTester $ I )
@@ -21,10 +21,10 @@ public function testCountPostsForCategoryAction(ApiTester $I)
2121 $ I ->amBearerAuthenticated ('Delta_secret_token ' );
2222 $ I ->sendHEAD ('/categories/1/posts-count ' );
2323 $ I ->seeResponseCodeIs (204 );
24- $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , 18 );
24+ $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , ' 18 ' );
2525 $ I ->sendHEAD ('/categories/2/posts-count ' );
2626 $ I ->seeResponseCodeIs (204 );
27- $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , 0 );
27+ $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , ' 0 ' );
2828 }
2929
3030 public function testListHasDataWithRelationships (ApiTester $ I )
@@ -53,10 +53,10 @@ public function testListHasDataWithRelationships(ApiTester $I)
5353
5454 $ I ->sendHEAD ('/post ' );
5555 $ I ->seeResponseCodeIs (200 );
56- $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , 54 );
57- $ I ->seeHttpHeader ('X-Pagination-Current-Page ' , 1 );
58- $ I ->seeHttpHeader ('X-Pagination-Per-Page ' , 20 );
59- $ I ->seeHttpHeader ('X-Pagination-Page-Count ' , 3 );
56+ $ I ->seeHttpHeader ('X-Pagination-Total-Count ' , ' 54 ' );
57+ $ I ->seeHttpHeader ('X-Pagination-Current-Page ' , ' 1 ' );
58+ $ I ->seeHttpHeader ('X-Pagination-Per-Page ' , ' 20 ' );
59+ $ I ->seeHttpHeader ('X-Pagination-Page-Count ' , ' 3 ' );
6060 }
6161
6262 public function testListFilterWithNotAllowedAttrs (ApiTester $ I )
0 commit comments