Problem/Motivation

Add test cases for Cloud Admin Setting forms:

  • Drupal\Tests\cloud\Functional\Config\CloudAdminSettings::testCloudAdminSettings()

Specification:

  • Implement Drupal\Tests\cloud\Traits\CloudTestFormDataTrait\createCloudSettingsTestFormData() to return an array including the random input data for /admin/config/services/cloud/settings
  • Access (HTTP Get) /admin/config/services/cloud/settings and post the random input data.

Issue fork cloud-3244513

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

yutong.li created an issue. See original summary.

yutong.li credited yas.

yutong.li’s picture

yas’s picture

Title: Add test cases for Cloud Admin Setting forms (Settings) » Add test cases for Cloud Admin Setting forms (Settings)

yutong.li’s picture

Status: Active » Needs review
yas’s picture

Status: Needs review » Reviewed & tested by the community

@yutong.li

Thank you for adding the test case. It looks good. I'll merge the patch to 3.x and 4.x, and close this issue as Fixed.

  • yas committed d14be5d on 4.x authored by yutong.li
    Issue #3244513 by yutong.li, yas: Add test cases for Cloud Admin Setting...

  • yas committed 7f2c03f on 3.x authored by yutong.li
    Issue #3244513 by yutong.li, yas: Add test cases for Cloud Admin Setting...

  • yas committed d262ea5 on 4.x authored by yutong.li
    Issue #3244513 by yas: Hotfix - Add test cases for Cloud Admin Setting...

  • yas committed 2d1a09e on 3.x authored by yutong.li
    Issue #3244513 by yas: Hotfix - Add test cases for Cloud Admin Setting...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.