use Slim\Http\Request;
use Slim\Http\Response;
-class ToolsControllerTestControllerTest extends TestCase
+class ToolsControllerTest extends TestCase
{
use FrontAdminControllerMockHelper;
static::assertSame(200, $result->getStatusCode());
static::assertSame('tools', (string) $result->getBody());
- static::assertSame('https://shaarli', $assignedVariables['pageabsaddr']);
+ static::assertSame('https://shaarli/', $assignedVariables['pageabsaddr']);
static::assertTrue($assignedVariables['sslenabled']);
}
static::assertSame(200, $result->getStatusCode());
static::assertSame('tools', (string) $result->getBody());
- static::assertSame('http://shaarli', $assignedVariables['pageabsaddr']);
+ static::assertSame('http://shaarli/', $assignedVariables['pageabsaddr']);
static::assertFalse($assignedVariables['sslenabled']);
}
}