Skip to content

Commit

Permalink
TE-7547 Fixed sniffer issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AsonUnique committed Oct 21, 2020
1 parent d6d67b4 commit e97f4d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use Generated\Shared\Transfer\ProductListTransfer;
use Orm\Zed\ProductList\Persistence\Map\SpyProductListProductConcreteTableMap;
use Orm\Zed\ProductList\Persistence\Map\SpyProductListTableMap;
use Orm\Zed\ProductList\Persistence\SpyProductListProductConcreteQuery;
use Spryker\Zed\ProductList\Persistence\ProductListRepository;

/**
Expand All @@ -22,7 +21,6 @@
* @group Zed
* @group ProductList
* @group Persistence
* @group Repository
* @group ProductListRepositoryTest
* Add your own group annotations below this line
*/
Expand Down Expand Up @@ -67,7 +65,7 @@ protected function setUp(): void
$this->productListProductConcreteRelation = (new ProductListProductConcreteRelationTransfer())
->setProductIds([
$this->productConcreteTransfer1->getIdProductConcrete(),
$this->productConcreteTransfer2->getIdProductConcrete()
$this->productConcreteTransfer2->getIdProductConcrete(),
]);
}

Expand All @@ -79,7 +77,7 @@ public function testGetProductListIdsByProductIdsReturnsCorrectData(): void
//Assert
$productConcreteIds = [
$this->productConcreteTransfer1->getIdProductConcrete(),
$this->productConcreteTransfer2->getIdProductConcrete()
$this->productConcreteTransfer2->getIdProductConcrete(),
];
$this->tester->haveProductList([
ProductListTransfer::PRODUCT_LIST_PRODUCT_CONCRETE_RELATION => $this->productListProductConcreteRelation->toArray(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<?php

/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerTest\Zed\ProductList;

use Codeception\Actor;
Expand All @@ -7,6 +13,7 @@

/**
* Inherited Methods
*
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
Expand All @@ -19,7 +26,7 @@
* @method void pause()
*
* @SuppressWarnings(PHPMD)
*/
*/
class ProductListPersistenceTester extends Actor
{
use _generated\ProductListPersistenceTesterActions;
Expand Down

0 comments on commit e97f4d5

Please sign in to comment.