Skip to content

Commit

Permalink
Fix "Deprecated: dirname(): Passing null to parameter #1 ($path) of t…
Browse files Browse the repository at this point in the history
…ype string is deprecated" in tests.
  • Loading branch information
rvdsteege committed Nov 23, 2023
1 parent 335da4f commit fd986da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Core
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/

/**
Expand All @@ -30,6 +30,7 @@
*/
$pronamic_pay_plugin = \Pronamic\WordPress\Pay\Plugin::instance(
array(
'file' => __DIR__ . '/../pronamic-pay-mollie.php',
'action_scheduler' => __DIR__ . '/../vendor/woocommerce/action-scheduler/action-scheduler.php',
)
);
Expand Down

0 comments on commit fd986da

Please sign in to comment.