feat: update dependencies

This commit is contained in:
Kevin Franklin Kim
2026-03-17 16:56:54 +01:00
parent 61d671341c
commit f4eae472a6
112 changed files with 993 additions and 555 deletions
+2
View File
@@ -10,7 +10,9 @@ import (
func dump(t *testing.T, i interface{ MarshalJSON() ([]byte, error) }) {
t.Helper()
var ret bytes.Buffer
out, err := i.MarshalJSON()
require.NoError(t, err)
require.NoError(t, json.Indent(&ret, out, "", " "))
+1 -1
View File
@@ -31,7 +31,7 @@ func TestNewClient_Server(t *testing.T) {
WorkspaceID: os.Getenv("TEST_SERVER_WORKSPACE_ID"),
},
tagmanager.WithClientOptions(
option.WithCredentialsFile(os.Getenv("TEST_CREDENTIALS_FILE")),
option.WithAuthCredentialsFile(option.ServiceAccount, os.Getenv("TEST_CREDENTIALS_FILE")),
),
)
require.NoError(t, err)
+6 -1
View File
@@ -31,7 +31,7 @@ func TestNewClient_Web(t *testing.T) {
WorkspaceID: os.Getenv("TEST_WEB_WORKSPACE_ID"),
},
tagmanager.WithClientOptions(
option.WithCredentialsFile(os.Getenv("TEST_CREDENTIALS_FILE")),
option.WithAuthCredentialsFile(option.ServiceAccount, os.Getenv("TEST_CREDENTIALS_FILE")),
),
)
require.NoError(t, err)
@@ -58,6 +58,7 @@ func TestNewClient_Web(t *testing.T) {
folderID := "25"
{ // --- Folders ---
name := "Sesamy"
t.Run("list folders", func(t *testing.T) {
cmd := c.Service().Accounts.Containers.Workspaces.Folders.List(c.WorkspacePath())
if r, err := cmd.Do(); assert.NoError(t, err) {
@@ -87,6 +88,7 @@ func TestNewClient_Web(t *testing.T) {
return
}
}
t.Error("not found")
}
})
@@ -127,6 +129,7 @@ func TestNewClient_Web(t *testing.T) {
{ // --- Triggers ---
name := "login"
t.Run("list triggers", func(t *testing.T) {
cmd := c.Service().Accounts.Containers.Workspaces.Triggers.List(c.WorkspacePath())
if r, err := cmd.Do(); assert.NoError(t, err) {
@@ -175,6 +178,7 @@ func TestNewClient_Web(t *testing.T) {
return
}
}
t.Error("not found")
}
})
@@ -188,6 +192,7 @@ func TestNewClient_Web(t *testing.T) {
{ // --- Tags ---
name := "login"
t.Run("list tags", func(t *testing.T) {
cmd := c.Service().Accounts.Containers.Workspaces.Tags.List(c.WorkspacePath())
if r, err := cmd.Do(); assert.NoError(t, err) {