mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 21:28:40 +00:00
fix tests
This commit is contained in:
parent
75dc3bc7d3
commit
85bed9ec2f
|
|
@ -24,17 +24,6 @@ namespace phpOMS\Api\Payment;
|
||||||
*/
|
*/
|
||||||
final class Stripe extends PaymentAbstract
|
final class Stripe extends PaymentAbstract
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* Constructor.
|
|
||||||
*
|
|
||||||
* @param string $apiKey Api key
|
|
||||||
*
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
public function __construct(string $apiKey)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -180,6 +180,7 @@ abstract class ConnectionAbstract implements ConnectionInterface
|
||||||
*/
|
*/
|
||||||
public function close() : void
|
public function close() : void
|
||||||
{
|
{
|
||||||
|
var_dump("closed");
|
||||||
$this->con = new NullPDO();
|
$this->con = new NullPDO();
|
||||||
$this->status = DatabaseStatus::CLOSED;
|
$this->status = DatabaseStatus::CLOSED;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user