mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-15 10:03:44 -06:00
remove extra "yes" confirmation in tests
There were two tests that had the duplicate confirmations hard-coded in the input stream.
This commit is contained in:
parent
7c93b2e5e6
commit
909dff36a8
@ -1898,7 +1898,7 @@ func TestMetaBackend_configuredChangedLegacyCopyBackend(t *testing.T) {
|
||||
defer testChdir(t, td)()
|
||||
|
||||
// Ask input
|
||||
defer testInteractiveInput(t, []string{"yes", "yes", "no"})()
|
||||
defer testInteractiveInput(t, []string{"yes", "no"})()
|
||||
|
||||
// Setup the meta
|
||||
m := testMetaBackend(t, nil)
|
||||
@ -2297,7 +2297,7 @@ func TestMetaBackend_configuredUnsetWithLegacyCopyBackend(t *testing.T) {
|
||||
defer testChdir(t, td)()
|
||||
|
||||
// Ask input
|
||||
defer testInteractiveInput(t, []string{"yes", "yes", "no"})()
|
||||
defer testInteractiveInput(t, []string{"yes", "no"})()
|
||||
|
||||
// Setup the meta
|
||||
m := testMetaBackend(t, nil)
|
||||
|
Loading…
Reference in New Issue
Block a user