File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/aws-cpp-sdk-rds-integration-tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ namespace
226
226
227
227
auto copyDBClusterSnapshotOutcome = m_rdsClient.CopyDBClusterSnapshot (copyDBClusterSnapshotRequest);
228
228
ASSERT_FALSE (copyDBClusterSnapshotOutcome.IsSuccess ());
229
- ASSERT_EQ (RDSErrors::INVALID_PARAMETER_COMBINATION , copyDBClusterSnapshotOutcome.GetError ().GetErrorType ());
229
+ ASSERT_EQ (RDSErrors::D_B_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT , copyDBClusterSnapshotOutcome.GetError ().GetErrorType ());
230
230
Aws::String preSignedUrl = ExtractPreSignedUrlFromPayload (TestingMonitoringMetrics::s_lastPayload.c_str ());
231
231
QueryStringParameterCollection parameters (URI (preSignedUrl).GetQueryStringParameters ());
232
232
ASSERT_NE (parameters.end (), parameters.find (" Action" ));
@@ -251,7 +251,7 @@ namespace
251
251
copyDBClusterSnapshotRequest.SetPreSignedUrl (TESTING_PRESIGNED_URL);
252
252
copyDBClusterSnapshotOutcome = m_rdsClient.CopyDBClusterSnapshot (copyDBClusterSnapshotRequest);
253
253
ASSERT_FALSE (copyDBClusterSnapshotOutcome.IsSuccess ());
254
- ASSERT_EQ (RDSErrors::INVALID_PARAMETER_COMBINATION , copyDBClusterSnapshotOutcome.GetError ().GetErrorType ());
254
+ ASSERT_EQ (RDSErrors::D_B_CLUSTER_SNAPSHOT_NOT_FOUND_FAULT , copyDBClusterSnapshotOutcome.GetError ().GetErrorType ());
255
255
preSignedUrl = ExtractPreSignedUrlFromPayload (TestingMonitoringMetrics::s_lastPayload.c_str ());
256
256
ASSERT_STREQ (TESTING_PRESIGNED_URL, preSignedUrl.c_str ());
257
257
}
You can’t perform that action at this time.
0 commit comments