Skip to content

Commit

Permalink
fix: update test signatures for silverstripe 5
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Feb 19, 2024
1 parent 4d4ba79 commit 1c9dd2d
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/CalculatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CalculatorTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/CategoriesDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class CategoriesDiscountConstraintTest extends SapphireTest
'vendor/silvershop/core/tests/php/Fixtures/Carts.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/CouponFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class CouponFormTest extends FunctionalTest
'Page.yml'
];

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/DatetimeDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DatetimeDiscountConstraintTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/GiftVoucherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GiftVoucherTest extends SapphireTest
'GiftVouchers.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/GroupDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class GroupDiscountConstraintTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/MembershipDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MembershipDiscountConstraintTest extends SapphireTest{
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/OrderCouponTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class OrderCouponTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/OrderDiscountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class OrderDiscountTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/ProductTypeDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ProductTypeDiscountConstraintTest extends SapphireTest
'GiftVouchers.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/ProductsDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ProductsDiscountConstraintTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SpecificPriceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SpecificPriceTest extends SapphireTest
'SpecificPrices.yml'
];

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/UseLimitDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class UseLimitDiscountConstraintTest extends SapphireTest
'Discounts.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down
2 changes: 1 addition & 1 deletion tests/ValueDiscountConstraintTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ValueDiscountConstraintTest extends SapphireTest
'shop.yml'
];

public function setUp()
public function setUp(): void
{
parent::setUp();
ShopTest::setConfiguration();
Expand Down

0 comments on commit 1c9dd2d

Please sign in to comment.