-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from michielgerritsen/release
Release
- Loading branch information
Showing
14 changed files
with
240 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,30 +2,22 @@ name: Lint PHP files | |
on: [push, pull_request] | ||
|
||
jobs: | ||
php-71: | ||
php-73: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
- uses: prestashop/github-action-php-lint/[email protected] | ||
|
||
php-72: | ||
php-74: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
- uses: prestashop/github-action-php-lint/[email protected] | ||
|
||
php-73: | ||
php-81: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
- uses: prestashop/github-action-php-lint/[email protected] | ||
|
||
php-74: | ||
php-82: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: StephaneBour/[email protected] | ||
with: | ||
dir: './' | ||
- uses: prestashop/github-action-php-lint/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
/* | ||
* | ||
* * Copyright Magmodules.eu. All rights reserved. | ||
* * See COPYING.txt for license details. | ||
* | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Mollie\Multishipping\Test\Integration\Xml; | ||
|
||
use Magento\Multishipping\Model\Checkout\Type\Multishipping\PlaceOrderPool; | ||
use Mollie\Payment\Service\Mollie\PaymentMethods; | ||
use Mollie\Payment\Test\Integration\IntegrationTestCase; | ||
|
||
class DiXmlTest extends IntegrationTestCase | ||
{ | ||
/** | ||
* @magentoAppArea frontend | ||
* @return void | ||
*/ | ||
public function testPlaceOrderPoolHasAllMollieMethods(): void | ||
{ | ||
/** @var PlaceOrderPool $instance */ | ||
$instance = $this->objectManager->get(PlaceOrderPool::class); | ||
|
||
foreach ($this->objectManager->get(PaymentMethods::class)->getCodes() as $code) { | ||
$this->assertNotNull( | ||
$instance->get($code), | ||
sprintf('An instance should be returned for "%s"', $code) | ||
); | ||
} | ||
} | ||
} |
Oops, something went wrong.