add tests and mock server

This commit is contained in:
Jan Husak
2025-11-19 10:52:32 +01:00
parent 5ad4072365
commit 41a1f70d02
7 changed files with 424 additions and 5 deletions

View File

@@ -2,12 +2,13 @@ package main
import (
"context"
"terraform-provider-bitbucket-token/internal/provider"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
)
func main() {
providerserver.Serve(context.Background(), NewProvider, providerserver.ServeOpts{
providerserver.Serve(context.Background(), provider.NewProvider, providerserver.ServeOpts{
Address: "registry.terraform.io/ysoftdevs/bitbucket",
})
}