mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
add WcGateway tests
This commit is contained in:
parent
4b14a7f193
commit
80b129c92d
3 changed files with 290 additions and 9 deletions
|
@ -4,4 +4,19 @@ declare(strict_types=1);
|
|||
class WC_Payment_Gateway
|
||||
{
|
||||
|
||||
protected function get_option(string $key) : string {
|
||||
return $key;
|
||||
}
|
||||
|
||||
protected function init_settings() {
|
||||
|
||||
}
|
||||
|
||||
protected function get_return_url($wcOrder) {
|
||||
return $wcOrder;
|
||||
}
|
||||
|
||||
public function process_admin_options() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue