+ it('Should get an access token', async function () {
+ const stdout = await cliCommand.execWithEnv(`${cmd} token --url ${server.url} --username user_1 --password super_password`)
+ const token = stdout.trim()
+
+ const res = await getMyUserInformation(server.url, token)
+ expect(res.body.username).to.equal('user_1')
+ })
+