mirror of
https://gitlab.com/openlp/website.git
synced 2024-09-01 19:43:37 +00:00
23 lines
477 B
PHP
23 lines
477 B
PHP
<?php
|
|
|
|
namespace Stripe;
|
|
|
|
class ApplicationFeeTest extends TestCase
|
|
{
|
|
public function testUrls()
|
|
{
|
|
$applicationFee = new ApplicationFee('abcd/efgh');
|
|
$this->assertSame(
|
|
$applicationFee->instanceUrl(),
|
|
'/v1/application_fees/abcd%2Fefgh'
|
|
);
|
|
}
|
|
|
|
public function testList()
|
|
{
|
|
self::authorizeFromEnv();
|
|
$d = ApplicationFee::all();
|
|
$this->assertSame($d->url, '/v1/application_fees');
|
|
}
|
|
}
|