Skip to content
Snippets Groups Projects
Commit d29aaebb authored by Yas Naoi's avatar Yas Naoi
Browse files

Issue #2736821: aws_cloud - Modified a button label for terminating an instance

parent 06837423
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
* Contains \Drupal\aws_cloud\Form\Ec2\InstanceDeleteForm.
*/
// Updated by yas 2016/09/07
// Updated by yas 2016/09/06
// Updated by yas 2016/06/12
// Updated by yas 2016/05/31
......@@ -30,6 +31,14 @@ class InstanceDeleteForm extends CloudContentDeleteForm {
// delegate parent class - CloudContentDeleteFrom
/**
* {@inheritdoc}
*/
public function getConfirmText() {
return t('Delete | Terminate');
}
/**
* {@inheritdoc}
*/
......
......@@ -263,7 +263,7 @@ class InstanceTest extends WebTestBase {
$this->assertNoText(t('warning'), t('Terminate | Make sure w/o Warnings'));
$this->drupalPostForm("/clouds/aws_cloud/$cloud_context/instance/$num/terminate",
array(),
t('Delete'));
t('Delete | Terminate'));
$this->assertResponse(200, t('Terminate | HTTP 200: The Cloud Instance #@num', array('@num' => $num)));
$this->assertNoText(t('Notice'), t('Terminate | Make sure w/o Notice'));
......
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