2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/includes/stripe/tests/Stripe/StripeTest.php
2018-03-07 19:26:06 +01:00

31 lines
576 B
PHP

<?php
namespace Stripe;
class StripeTest extends TestCase
{
/**
* @before
*/
public function saveOriginalValues()
{
$this->orig = [
'caBundlePath' => Stripe::$caBundlePath,
];
}
/**
* @after
*/
public function restoreOriginalValues()
{
Stripe::$caBundlePath = $this->orig['caBundlePath'];
}
public function testCABundlePathAccessors()
{
Stripe::setCABundlePath('path/to/ca/bundle');
$this->assertEquals('path/to/ca/bundle', Stripe::getCABundlePath());
}
}