protected function ScheduledUpdatesTestBase::checkEditType in Scheduled Updates 8
Checks that an scheduled update type can be edit via the form.
Parameters
string $type_id: The type id.
1 call to ScheduledUpdatesTestBase::checkEditType()
- IndependentScheduledUpdateTypeTest::createType in tests/
src/ FunctionalJavascript/ IndependentScheduledUpdateTypeTest.php
File
- tests/
src/ FunctionalJavascript/ ScheduledUpdatesTestBase.php, line 244 - Contains \Drupal\Tests\scheduled_updates\ScheduledUpdatesTestBase.
Class
- ScheduledUpdatesTestBase
- Define base class for Scheduled Updates Tests
Namespace
Drupal\Tests\scheduled_updates\FunctionalJavascriptCode
protected function checkEditType($type_id) {
$this
->drupalGet("admin/config/workflow/scheduled-update-type/{$type_id}");
// For now just test the saving without changes works.
// See https://www.drupal.org/node/2674874
$this
->drupalPostForm(NULL, [], t('Save'));
}