Skip to content
Snippets Groups Projects
Commit 4d6c6147 authored by xiaohua guan's avatar xiaohua guan Committed by Yas Naoi
Browse files

Issue #3048805 by Xiaohua Guan: Resolve the failure of testInstanceTerminateConfiguration

parent 20569f7c
No related branches found
No related tags found
No related merge requests found
......@@ -434,10 +434,13 @@ class InstanceTest extends AwsCloudTestCase {
$num = $i + 1;
$terminate_value = $terminate_allowed_values[array_rand($terminate_allowed_values)];
$this->drupalPostForm("admin/config/services/cloud/aws_cloud", [
'aws_cloud_instance_terminate' => $terminate_value,
],
t('Save configuration'));
$this->drupalPostForm("admin/config/services/cloud/aws_cloud",
[
'aws_cloud_instance_terminate' => $terminate_value,
'google_credential' => json_encode([]),
],
t('Save configuration')
);
$this->assertResponse(200);
$this->createServerTemplate($iam_roles);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment