We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7101f7d commit 00451d3Copy full SHA for 00451d3
tests/Jira/ApiTest.php
@@ -19,5 +19,10 @@ public function testSetEndpointTrailingSlash()
19
{
20
$api = new Api('https://test.test/', new Anonymous(), null);
21
$this->assertEquals('https://test.test', $api->getEndpoint());
22
+
23
+ // Make sure nothing is removed if there is no trailing slash
24
+ $url = 'https://urlwithouttrailing.slash';
25
+ $api->setEndPoint($url);
26
+ $this->assertEquals($url, $api->getEndpoint());
27
}
28
0 commit comments