fix(repository_deploy_keys): Make deploy keys compatible to bitbucket-dc-lts

For some reason this api does return ints, where it is supposed to
return strings in older LTS versions.
This commit is contained in:
xvlcwk
2025-03-18 14:57:55 +01:00
committed by chris
parent 82b25662a3
commit 3e77c275e0
12 changed files with 131 additions and 103 deletions

View File

@@ -18,9 +18,9 @@ func TestAccBitbucketDataApplicationProperties(t *testing.T) {
{
Config: config,
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "version", "8.5.4"),
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "build_number", "8005004"),
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "build_date", "1681201969213"),
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "version", "9.4.2"),
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "build_number", "9004002"),
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "build_date", "1736803793767"),
resource.TestCheckResourceAttr("data.bitbucketserver_application_properties.main", "display_name", "Bitbucket"),
),
},