mirror of
https://gitlab.com/openlp/website.git
synced 2024-09-01 11:33:37 +00:00
14 lines
283 B
PHP
14 lines
283 B
PHP
<?php
|
|
|
|
namespace Stripe;
|
|
|
|
class TokenTest extends TestCase
|
|
{
|
|
public function testUrls()
|
|
{
|
|
$this->assertSame(Token::classUrl(), '/v1/tokens');
|
|
$token = new Token('abcd/efgh');
|
|
$this->assertSame($token->instanceUrl(), '/v1/tokens/abcd%2Fefgh');
|
|
}
|
|
}
|