Merge pull request #5 from hashicorp/vancluever-remove-testing-todo

plugin: Remove TODO from E2E test covering rotated -> not rotated
This commit is contained in:
Chris Marchesi authored and GitHub committed 2021-11-16 09:39:52 -08:00
commit 85626c6dd4
1 file changed
+3 -5
+3 -5
View File
@@ -358,11 +358,9 @@ func testPluginOnUpdateCatalog(
case newAccessKeyId == "" && rotated && !rotate:
// No new credentials have been provided, and we have previously
// rotated the credentials. This is actually an error.
//
// TODO: validate this scenario through unit testing. For now if
// we for some reason try to test this with this function, return
// an error.
// rotated the credentials. This is actually an error, but we
// don't test it here; it's covered in unit testing (see
// plugin_test.go).
require.FailNow("testing rotated-to-not-rotated scenario not implemented by this helper")
case newAccessKeyId == "" && !rotated && rotate: