Skip to content

Commit

Permalink
fixup! fixup! Added tests for DB gateway service
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed Oct 18, 2018
1 parent c333ccf commit 9329b6d
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions tests/bundle/Command/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,9 @@ public function getUpdateFieldRowQueryProvider()

/**
* @dataProvider getUpdateFieldRowQueryProvider
* @param $dryRun
* @param $id
* @param $version
* @param $datatext
* @param int $id
* @param int $version
* @param string $datatext
*/
public function testGetUpdateFieldRowQuery($id, $version, $datatext)
{
Expand Down Expand Up @@ -389,11 +388,11 @@ public function contentObjectAttributeExistsProvider()

/**
* @dataProvider contentObjectAttributeExistsProvider
* @param $objectId
* @param $attributeId
* @param $version
* @param $language
* @param $expectedResult
* @param int $objectId
* @param int $attributeId
* @param int $version
* @param string $language
* @param bool $expectedResult
*/
public function testContentObjectAttributeExists($objectId, $attributeId, $version, $language, $expectedResult)
{
Expand Down Expand Up @@ -441,11 +440,11 @@ public function updateContentObjectAttributeProvider()

/**
* @dataProvider updateContentObjectAttributeProvider
* @param $xml
* @param $objectId
* @param $attributeId
* @param $version
* @param $language
* @param string $xml
* @param int $objectId
* @param int $attributeId
* @param int $version
* @param string $language
*/
public function testUpdateContentObjectAttribute($xml, $objectId, $attributeId, $version, $language)
{
Expand Down

0 comments on commit 9329b6d

Please sign in to comment.