Skip to content

Commit

Permalink
Bring tags-regex feature out of beta
Browse files Browse the repository at this point in the history
  • Loading branch information
hashimoon committed Jul 19, 2022
1 parent 2fa1542 commit 07c9486
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workspace_integration_test.go
Expand Up @@ -344,10 +344,10 @@ func TestWorkspacesCreate(t *testing.T) {
assert.EqualError(t, err, ErrUnsupportedBothTriggerPatternsAndPrefixes.Error())
})

t.Run("when options include tags-regex(behind a feature flag)", func(t *testing.T) {
t.Run("when options include tags-regex", func(t *testing.T) {
// Remove the below organization creation and use the one from the outer scope once the feature flag is removed
orgTest, orgTestCleanup := createOrganizationWithOptions(t, client, OrganizationCreateOptions{
Name: String("tst-" + randomString(t)[0:20] + "-git-tag-ff-on"),
Name: String("tst-" + randomString(t)[0:20]),
Email: String(fmt.Sprintf("%s@tfe.local", randomString(t))),
})
defer orgTestCleanup()
Expand Down Expand Up @@ -844,10 +844,10 @@ func TestWorkspacesUpdate(t *testing.T) {
}
})

t.Run("when options include VCSRepo tags-regex (behind a feature flag)", func(t *testing.T) {
t.Run("when options include VCSRepo tags-regex", func(t *testing.T) {
// Remove the below organization and workspace creation and use the one from the outer scope once the feature flag is removed
orgTest, orgTestCleanup := createOrganizationWithOptions(t, client, OrganizationCreateOptions{
Name: String("tst-" + randomString(t)[0:20] + "-git-tag-ff-on"),
Name: String("tst-" + randomString(t)[0:20]),
Email: String(fmt.Sprintf("%s@tfe.local", randomString(t))),
})
defer orgTestCleanup()
Expand Down

0 comments on commit 07c9486

Please sign in to comment.