diff --git a/bitbucket/data_application_properties_test.go b/bitbucket/data_application_properties_test.go index 4d9d9aa..b67a756 100644 --- a/bitbucket/data_application_properties_test.go +++ b/bitbucket/data_application_properties_test.go @@ -18,7 +18,7 @@ func TestAccBitbucketDataApplicationProperties(t *testing.T) { { Config: config, Check: resource.ComposeTestCheckFunc( - resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "version", "6.7.0"), + resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "version", "6.10.0"), resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "build_number", "6007000"), resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "build_date", "1569809627115"), resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "display_name", "Bitbucket"), diff --git a/bitbucket/data_project_hooks_test.go b/bitbucket/data_project_hooks_test.go index 57852ce..c2b24f4 100644 --- a/bitbucket/data_project_hooks_test.go +++ b/bitbucket/data_project_hooks_test.go @@ -34,7 +34,7 @@ func TestAccBitbucketDataProjectHooks_simple(t *testing.T) { resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.name", "All reviewers approve"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.type", "PRE_PULL_REQUEST_MERGE"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.description", "Require all reviewers to approve the pull request."), - resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.version", "6.7.0"), + resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.version", "6.10.0"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.scope_types.#", "2"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.scope_types.0", "PROJECT"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.scope_types.1", "REPOSITORY"), @@ -74,7 +74,7 @@ func TestAccBitbucketDataProjectHooks_type(t *testing.T) { resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.name", "Reject Force Push"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.type", "PRE_RECEIVE"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.description", "Reject all force pushes (git push --force) to this repository"), - resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.version", "6.7.0"), + resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.version", "6.10.0"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.scope_types.#", "2"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.scope_types.0", "PROJECT"), resource.TestCheckResourceAttr("data.bitbucketserver_project_hooks.test", "hooks.0.scope_types.1", "REPOSITORY"), diff --git a/bitbucket/data_repository_hooks_test.go b/bitbucket/data_repository_hooks_test.go index 84ed993..da8f8b6 100644 --- a/bitbucket/data_repository_hooks_test.go +++ b/bitbucket/data_repository_hooks_test.go @@ -40,7 +40,7 @@ func TestAccBitbucketDataRepositoryHooks_simple(t *testing.T) { resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.name", "All reviewers approve"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.type", "PRE_PULL_REQUEST_MERGE"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.description", "Require all reviewers to approve the pull request."), - resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.version", "6.7.0"), + resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.version", "6.10.0"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.scope_types.#", "2"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.scope_types.0", "PROJECT"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.scope_types.1", "REPOSITORY"), @@ -86,7 +86,7 @@ func TestAccBitbucketDataRepositoryHooks_type(t *testing.T) { resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.name", "Reject Force Push"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.type", "PRE_RECEIVE"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.description", "Reject all force pushes (git push --force) to this repository"), - resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.version", "6.7.0"), + resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.version", "6.10.0"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.scope_types.#", "2"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.scope_types.0", "PROJECT"), resource.TestCheckResourceAttr("data.bitbucketserver_repository_hooks.test", "hooks.0.scope_types.1", "REPOSITORY"), diff --git a/docs/data-sources/bitbucketserver_project_hooks.md b/docs/data-sources/bitbucketserver_project_hooks.md index b918548..5117c69 100644 --- a/docs/data-sources/bitbucketserver_project_hooks.md +++ b/docs/data-sources/bitbucketserver_project_hooks.md @@ -14,7 +14,7 @@ data "bitbucketserver_project_hooks" "main" { # "name" = "Reject Force Push", # "type" = "PRE_RECEIVE", # "description" = "Reject all force pushes (git push --force) to this repository", -# "version" = "6.7.0", +# "version" = "6.10.0", # "scope_types" = ["PROJECT", "REPOSITORY"], # "enabled" = "false", # "configured" = "false", @@ -46,7 +46,7 @@ data "bitbucketserver_project_hooks" "main" { * `name` - Name of the hook e.g. `Reject Force Push` * `type` - Type of the hook e.g. `PRE_RECEIVE` * `description` - Detailed description e.g. `Reject all force pushes (git push --force) to this repository` - * `version` - Version of the hook, for system hooks this is the bitbucket version e.g. `6.7.0` + * `version` - Version of the hook, for system hooks this is the bitbucket version e.g. `6.10.0` * `scope_types` - List of strings containing the scopes available for this hook, e.g. `["PROJECT", "REPOSITORY"]` * `enabled` - Set if this hook is enabled for this project * `configured` - Set if the hook is configured for this project diff --git a/docs/data-sources/bitbucketserver_repository_hooks.md b/docs/data-sources/bitbucketserver_repository_hooks.md index ca85f2b..f0956ef 100644 --- a/docs/data-sources/bitbucketserver_repository_hooks.md +++ b/docs/data-sources/bitbucketserver_repository_hooks.md @@ -15,7 +15,7 @@ data "bitbucketserver_repository_hooks" "main" { # "name" = "Reject Force Push", # "type" = "PRE_RECEIVE", # "description" = "Reject all force pushes (git push --force) to this repository", -# "version" = "6.7.0", +# "version" = "6.10.0", # "scope_types" = ["PROJECT", "REPOSITORY"], # "enabled" = "false", # "configured" = "false", @@ -49,7 +49,7 @@ data "bitbucketserver_project_hooks" "main" { * `name` - Name of the hook e.g. `Reject Force Push` * `type` - Type of the hook e.g. `PRE_RECEIVE` * `description` - Detailed description e.g. `Reject all force pushes (git push --force) to this repository` - * `version` - Version of the hook, for system hooks this is the bitbucket version e.g. `6.7.0` + * `version` - Version of the hook, for system hooks this is the bitbucket version e.g. `6.10.0` * `scope_types` - List of strings containing the scopes available for this hook, e.g. `["PROJECT", "REPOSITORY"]` * `enabled` - Set if this hook is enabled for this project * `configured` - Set if the hook is configured for this project