Skip to content

Commit

Permalink
Add test: connected user can be retrieved (#247)
Browse files Browse the repository at this point in the history
## What is the goal of this PR?

We've added a behaviour test scenario testing that the connected user is
retrievable. This checks that the client provides a way to get the
currently logged in user.

## What are the changes implemented in this PR?

* Added behaviour test scenario: `connected user is retrievable`.
  • Loading branch information
James Williams authored Apr 27, 2023
1 parent b4cbdd3 commit fbba9fc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions connection/user.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ Feature: Connection Users
Given users delete: user
Then users not contains: user

Scenario: connected user is retrievable
Given typedb starts
Given connection opens with authentication: admin, password
When users create: user, password
Then connection closes
Given connection opens with authentication: user, password
Then get connected user

@ignore-typedb-client-python @ignore-typedb-client-nodejs
Scenario: user passwords must comply with the minimum length
Given typedb has configuration
Expand Down

0 comments on commit fbba9fc

Please sign in to comment.