Skip to content

Commit

Permalink
test: index and action API
Browse files Browse the repository at this point in the history
  • Loading branch information
toopay committed Oct 22, 2024
1 parent 739e4a7 commit 0d3e6b5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pkg/supabase/supabase_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1571,6 +1571,20 @@ func TestDeleteFunction_SelfHosted(t *testing.T) {
assert.NoError(t, err1)
}

func TestGetIndexes_Cloud(t *testing.T) {
cfg := loadCloudConfig()

_, err := supabase.GetIndexes(cfg, "public")
assert.Error(t, err)
}

func TestGetIndexes_SelfHosted(t *testing.T) {
cfg := loadSelfHostedConfig()

_, err := supabase.GetIndexes(cfg, "public")
assert.Error(t, err)
}

func TestAdminUpdateUser_Cloud(t *testing.T) {
cfg := loadCloudConfig()

Expand Down

0 comments on commit 0d3e6b5

Please sign in to comment.