Skip to content

Commit

Permalink
Temporarily remove behat services empty file
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaGallinari committed Sep 13, 2024
1 parent 4a90fa4 commit 240a663
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions src/Controller/PaymentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function statusAction(string $payumToken): Response
}

$syliusPayment = $this->retrievePaymentFromToken($token);
// todo: check if the payment is already completed or cancelled
$paymentDetails = $syliusPayment->getDetails();
if (!PaymentDetailsHelper::areValid($paymentDetails)) {
throw $this->createAccessDeniedException();
Expand Down
1 change: 0 additions & 1 deletion tests/Application/config/services_test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
imports:
- { resource: "services/test/*.php" }
- { resource: "../../Behat/Resources/services.php" }
- { resource: "../../../vendor/sylius/sylius/src/Sylius/Behat/Resources/config/services.xml" }

# workaround needed for strange "test.client.history" problem
Expand Down
9 changes: 0 additions & 9 deletions tests/Behat/Resources/services.php

This file was deleted.

0 comments on commit 240a663

Please sign in to comment.