From 632e36ad2df6a0e287ecf523a759b2cb18504db1 Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Thu, 18 Oct 2018 09:13:48 +0200 Subject: [PATCH] fixup! Added tests for DB gateway service --- tests/bundle/Command/GatewayTest.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/bundle/Command/GatewayTest.php b/tests/bundle/Command/GatewayTest.php index 70314085..af924746 100644 --- a/tests/bundle/Command/GatewayTest.php +++ b/tests/bundle/Command/GatewayTest.php @@ -33,8 +33,8 @@ public function getContentTypeIdsProvider() /** * @dataProvider getContentTypeIdsProvider - * @param $identifiers - * @param $expected + * @param [] $identifiers + * @param [] $expected */ public function testGetContentTypeIds($identifiers, $expected) { @@ -102,9 +102,9 @@ public function getRowCountOfContentObjectAttributesProvider() /** * @dataProvider getRowCountOfContentObjectAttributesProvider - * @param $datatypeString - * @param $contentId - * @param $expectedCount + * @param string $datatypeString + * @param int $contentId + * @param int $expectedCount */ public function testGetRowCountOfContentObjectAttributes($datatypeString, $contentId, $expectedCount) { @@ -246,11 +246,11 @@ public function getFieldRowsProvider() /** * @dataProvider getFieldRowsProvider - * @param $datatypeString - * @param $contentId - * @param $offset - * @param $limit - * @param $expectedRows + * @param string $datatypeString + * @param int $contentId + * @param int $offset + * @param int $limit + * @param [] $expectedRows */ public function testGetFieldRows($datatypeString, $contentId, $offset, $limit, $expectedRows) {