Skip to content

Commit 9b4259d

Browse files
committed
test: updating tests
1 parent add87f9 commit 9b4259d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

privatelink_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ func TestGetPrivateLink(t *testing.T) {
6969
"connections": [
7070
{
7171
"associationId": "received",
72-
"connectionId": 144019,
72+
"connectionId": "vpce-con-12345678",
7373
"type": "connection type",
74-
"ownerId": 12312312,
74+
"ownerId": "123456789012",
7575
"associationDate": "2024-07-16T09:26:40.929904847Z"
7676
}
7777
],
@@ -112,9 +112,9 @@ func TestGetPrivateLink(t *testing.T) {
112112
ShareName: redis.String("share name"),
113113
Connections: []*pl.PrivateLinkConnection{{
114114
AssociationId: redis.String("received"),
115-
ConnectionId: redis.Int(144019),
115+
ConnectionId: redis.String("vpce-con-12345678"),
116116
Type: redis.String("connection type"),
117-
OwnerId: redis.Int(12312312),
117+
OwnerId: redis.String("123456789012"),
118118
AssociationDate: redis.String("2024-07-16T09:26:40.929904847Z"),
119119
}},
120120
Databases: []*pl.PrivateLinkDatabase{{
@@ -272,9 +272,9 @@ func TestGetActiveActivePrivateLink(t *testing.T) {
272272
"connections": [
273273
{
274274
"associationId": "received",
275-
"connectionId": 144019,
275+
"connectionId": "vpce-con-12345678",
276276
"type": "connection type",
277-
"ownerId": 12312312,
277+
"ownerId": "123456789012",
278278
"associationDate": "2024-07-16T09:26:40.929904847Z"
279279
}
280280
],
@@ -316,9 +316,9 @@ func TestGetActiveActivePrivateLink(t *testing.T) {
316316
ShareName: redis.String("share name"),
317317
Connections: []*pl.PrivateLinkConnection{{
318318
AssociationId: redis.String("received"),
319-
ConnectionId: redis.Int(144019),
319+
ConnectionId: redis.String("vpce-con-12345678"),
320320
Type: redis.String("connection type"),
321-
OwnerId: redis.Int(12312312),
321+
OwnerId: redis.String("123456789012"),
322322
AssociationDate: redis.String("2024-07-16T09:26:40.929904847Z"),
323323
}},
324324
Databases: []*pl.PrivateLinkDatabase{{

0 commit comments

Comments
 (0)