Skip to content

Commit

Permalink
add testingframeworks again
Browse files Browse the repository at this point in the history
  • Loading branch information
Evert Albert committed Oct 18, 2021
1 parent 1998728 commit 2ebaa26
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ bin
vendor
docs
composer.lock
.phpunit.result.cache
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@
}
},
"require": {
"php": ">=5.6",
"drewm/mailchimp-api": "2.5.*"
"php": ">=8.0",
"drewm/mailchimp-api": "2.5.*",
"ext-curl": "*"
},
"require-dev": {
"symfony/symfony": ">=5.0"
"symfony/symfony": ">=5.0",
"phpunit/phpunit": "^9.5",
"phpspec/phpspec": "^7.1"
},
"config": {
"bin-dir": "bin"
Expand Down
2 changes: 1 addition & 1 deletion tests/Provider/configListProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ConfigListProviderTest extends TestCase
protected $providerFactory = null;
protected $listConfig;

public function setUp()
public function setUp(): void
{
$this->providerFactory = $this->createMock(\Welp\MailchimpBundle\Provider\ProviderFactory::class);

Expand Down
2 changes: 1 addition & 1 deletion tests/Subscriber/ListRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ListRepositoryTest extends TestCase

protected $listRepository = null;

public function setUp()
public function setUp(): void
{
$mailchimp = new MailChimp(self::MAILCHIMP_API_KEY);
$this->listRepository = new ListRepository($mailchimp);
Expand Down
2 changes: 1 addition & 1 deletion tests/Subscriber/ListSynchronizerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ListSynchronizerTest extends TestCase

protected $listRepository = null;

public function setUp()
public function setUp(): void
{
$mailchimp = new MailChimp(self::MAILCHIMP_API_KEY);
$this->listRepository = new ListRepository($mailchimp);
Expand Down

0 comments on commit 2ebaa26

Please # to comment.