version 1.5

This commit is contained in:
Johannes Holzwarth | SE-Inno GmbH
2024-01-11 14:04:25 +01:00
parent 0ee8291846
commit 4492763b78
756 changed files with 209957 additions and 2 deletions
@@ -0,0 +1,23 @@
<?php
use InfluxDB2\Service\UsersService;
require_once('IntegrationBaseTestCase.php');
/**
* @group integration
*/
class ITUsersServiceTest extends IntegrationBaseTestCase
{
public function testUserService()
{
/** @var UsersService $usersService */
$usersService = $this->client->createService(UsersService::class);
$users = $usersService->getUsers()->getUsers();
foreach ($users as $user) {
self::assertNotEmpty($user->getName());
self::assertNotEmpty($user->getId());
self::assertNotEmpty($user->getLinks()->getSelf());
}
}
}