mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-06-28 23:37:39 +00:00
refactor: rename test functions
This commit is contained in:
parent
a2c6aac53d
commit
94c39e5422
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
|
||||
)
|
||||
|
||||
func TestDataSourceSecret(t *testing.T) {
|
||||
func TestSecretDataSource(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
name := uuid.NewString()
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
|
||||
)
|
||||
|
||||
func TestDataSourceUser(t *testing.T) {
|
||||
func TestUserDataSource(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
user, _ := woodpeckerClient.Self()
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
"github.com/woodpecker-ci/woodpecker/woodpecker-go/woodpecker"
|
||||
)
|
||||
|
||||
func TestResourceRepository(t *testing.T) {
|
||||
func TestRepositoryResource(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
t.Run("OK", func(t *testing.T) {
|
||||
|
|
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/woodpecker-ci/woodpecker/woodpecker-go/woodpecker"
|
||||
)
|
||||
|
||||
func TestResourceSecret(t *testing.T) {
|
||||
func TestSecretResource(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
t.Run("OK", func(t *testing.T) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/woodpecker-ci/woodpecker/woodpecker-go/woodpecker"
|
||||
)
|
||||
|
||||
func TestResourceUser(t *testing.T) {
|
||||
func TestUserResource(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
login := uuid.NewString()
|
||||
|
|
Loading…
Reference in New Issue
Block a user