Skip to content

Commit caee61c

Browse files
committed
Run make gen golden files
1 parent 5ae74a0 commit caee61c

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed

cli/testdata/coder_users_list.golden

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
USERNAME EMAIL CREATED AT STATUS
1+
USERNAME EMAIL CREATED AT STATUS
2+
testuser testuser@coder.com ====[timestamp]===== active
3+
testuser2 testuser2@coder.com ====[timestamp]===== dormant
Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,36 @@
1-
[]
1+
[
2+
{
3+
"id": "==========[first user ID]===========",
4+
"username": "testuser",
5+
"name": "Test User",
6+
"email": "testuser@coder.com",
7+
"created_at": "====[timestamp]=====",
8+
"updated_at": "====[timestamp]=====",
9+
"last_seen_at": "====[timestamp]=====",
10+
"status": "active",
11+
"login_type": "password",
12+
"organization_ids": [
13+
"===========[first org ID]==========="
14+
],
15+
"roles": [
16+
{
17+
"name": "owner",
18+
"display_name": "Owner"
19+
}
20+
]
21+
},
22+
{
23+
"id": "==========[second user ID]==========",
24+
"username": "testuser2",
25+
"email": "testuser2@coder.com",
26+
"created_at": "====[timestamp]=====",
27+
"updated_at": "====[timestamp]=====",
28+
"last_seen_at": "====[timestamp]=====",
29+
"status": "dormant",
30+
"login_type": "password",
31+
"organization_ids": [
32+
"===========[first org ID]==========="
33+
],
34+
"roles": []
35+
}
36+
]

0 commit comments

Comments
 (0)