mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 21:12:50 +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');
|
|
}
|
|
}
|