Skip to content

Commit

Permalink
FRW-8773 Added PHPUnit 11 support. (#11131)
Browse files Browse the repository at this point in the history
FRW-8773 Added PHP Unit 11 support.
  • Loading branch information
olhalivitchuk authored Nov 4, 2024
1 parent c37f167 commit 3fb2464
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
*/
class ProductManagementProductConcreteEditCest
{
/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
* @return void
*/
public function _before(ProductManagementPresentationTester $i): void
{
$i->amZed();
$i->amLoggedInUser();
}

/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
*/
class ProductManagementProductConcreteViewCest
{
/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
* @return void
*/
public function _before(ProductManagementPresentationTester $i): void
{
$i->amZed();
$i->amLoggedInUser();
}

/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
*/
class ProductManagementProductCreateCest
{
/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
* @return void
*/
public function _before(ProductManagementPresentationTester $i): void
{
$i->amZed();
$i->amLoggedInUser();
}

/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@
*/
class ProductManagementProductEditCest
{
/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
* @return void
*/
public function _before(ProductManagementPresentationTester $i): void
{
$i->amZed();
$i->amLoggedInUser();
}

/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
*/
class ProductManagementProductListCest
{
/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
* @return void
*/
public function _before(ProductManagementPresentationTester $i): void
{
$i->amZed();
$i->amLoggedInUser();
}

/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@
*/
class ProductManagementProductViewCest
{
/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
* @return void
*/
public function _before(ProductManagementPresentationTester $i): void
{
$i->amZed();
$i->amLoggedInUser();
}

/**
* @param \SprykerTest\Zed\ProductManagement\ProductManagementPresentationTester $i
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
namespace SprykerTest\Zed\ProductManagement;

use Codeception\Actor;
use Codeception\Scenario;
use Spryker\Zed\MoneyGui\Communication\Plugin\Form\MoneyFormTypePlugin;
use Spryker\Zed\ProductManagement\ProductManagementDependencyProvider;
use Spryker\Zed\Store\Communication\Plugin\Form\StoreRelationToggleFormTypePlugin;
Expand All @@ -31,17 +30,6 @@ class ProductManagementPresentationTester extends Actor
{
use _generated\ProductManagementPresentationTesterActions;

/**
* @param \Codeception\Scenario $scenario
*/
public function __construct(Scenario $scenario)
{
parent::__construct($scenario);

$this->amZed();
$this->amLoggedInUser();
}

/**
* @return void
*/
Expand Down

0 comments on commit 3fb2464

Please sign in to comment.