1
0
mirror of https://gitlab.com/openlp/website.git synced 2024-12-22 04:52:49 +00:00
website/files/stripe/tests/BalanceTest.php

16 lines
350 B
PHP

<?php
namespace Stripe;
class BalanceTest extends TestCase
{
public function testRetrieve()
{
self::authorizeFromEnv();
$d = Balance::retrieve();
$this->assertSame($d->object, "balance");
$this->assertTrue(Util\Util::isList($d->available));
$this->assertTrue(Util\Util::isList($d->pending));
}
}