Skip to content

Commit c6c30a6

Browse files
committed
rename test cases
1 parent a11fa85 commit c6c30a6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/command/init_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@ func TestInit_testsWithModule(t *testing.T) {
38423842

38433843
// Testing init's behaviors with `state_store` when run in an empty working directory
38443844
func TestInit_stateStore_newWorkingDir(t *testing.T) {
3845-
t.Run("users do not need to approve trusting a state store provider if it's installed from local archive", func(t *testing.T) {
3845+
t.Run("no need to interactively approve a state store provider installed from local archive", func(t *testing.T) {
38463846
// Create a temporary, uninitialized working directory with configuration including a state store
38473847
td := t.TempDir()
38483848
testCopyDir(t, testFixturePath("init-with-state-store"), td)
@@ -3904,7 +3904,7 @@ func TestInit_stateStore_newWorkingDir(t *testing.T) {
39043904
}
39053905
})
39063906

3907-
t.Run("users can interactively approve trusting a state store provider downloaded via HTTP", func(t *testing.T) {
3907+
t.Run("prompted to approve a state store provider downloaded via HTTP", func(t *testing.T) {
39083908
// Create a temporary, uninitialized working directory with configuration including a state store
39093909
td := t.TempDir()
39103910
testCopyDir(t, testFixturePath("init-with-state-store"), td)
@@ -4144,7 +4144,7 @@ func TestInit_stateStore_newWorkingDir(t *testing.T) {
41444144
}
41454145
})
41464146

4147-
t.Run("if user rejects a provider and re-attempts the init command they're prompted on the second attempt", func(t *testing.T) {
4147+
t.Run("re-prompt to approve a provider after rejecting that provider in a previous init", func(t *testing.T) {
41484148
// Create a temporary, uninitialized working directory with configuration including a state store
41494149
td := t.TempDir()
41504150
testCopyDir(t, testFixturePath("init-with-state-store"), td)

0 commit comments

Comments
 (0)