diff --git a/Resources/docs/get-it-started.md b/Resources/docs/get-it-started.md index fc222cf..0a26a76 100644 --- a/Resources/docs/get-it-started.md +++ b/Resources/docs/get-it-started.md @@ -27,7 +27,7 @@ use Payum\Core\Payum; /** @var Payum $payum */ $payum = (new PayumBuilder()) ->addDefaultStorages() - ->addGatewayConfig('gatewayName', [ + ->addGateway('gatewayName', [ 'factory' => 'offline' ]) diff --git a/Tests/Action/StatusActionTest.php b/Tests/Action/StatusActionTest.php index 9a4ed5f..f3abb9c 100644 --- a/Tests/Action/StatusActionTest.php +++ b/Tests/Action/StatusActionTest.php @@ -146,7 +146,7 @@ public function shouldMarkCanceledIfStatusSetToCanceled() $request = new GetBinaryStatus(array( Constants::FIELD_STATUS => Constants::STATUS_CANCELED, )); - $request->markCanceled(); + $request->markUnknown(); $action = new StatusAction();