X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fpathauto%2Fsrc%2FTests%2FPathautoSettingsFormWebTest.php;fp=web%2Fmodules%2Fcontrib%2Fpathauto%2Fsrc%2FTests%2FPathautoSettingsFormWebTest.php;h=40ede78bc05a729195ac4ee54a2eb028d10d1f55;hp=9a4a690928e9e0f52600bdef2f5a1e3e45f54283;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/pathauto/src/Tests/PathautoSettingsFormWebTest.php b/web/modules/contrib/pathauto/src/Tests/PathautoSettingsFormWebTest.php index 9a4a69092..40ede78bc 100644 --- a/web/modules/contrib/pathauto/src/Tests/PathautoSettingsFormWebTest.php +++ b/web/modules/contrib/pathauto/src/Tests/PathautoSettingsFormWebTest.php @@ -97,7 +97,6 @@ class PathautoSettingsFormWebTest extends WebTestBase { 'notify of path changes', 'administer url aliases', 'create url aliases', - 'administer nodes', 'bypass node access', ); $this->adminUser = $this->drupalCreateUser($permissions); @@ -133,11 +132,11 @@ class PathautoSettingsFormWebTest extends WebTestBase { $title = 'Verbose settings test'; $this->drupalGet('/node/add/article'); $this->assertFieldChecked('edit-path-0-pathauto'); - $this->drupalPostForm(NULL, array('title[0][value]' => $title), t('Save and publish')); + $this->drupalPostForm(NULL, array('title[0][value]' => $title), t('Save')); $this->assertText('Created new alias /content/verbose-settings-test for'); $node = $this->drupalGetNodeByTitle($title); - $this->drupalPostForm('/node/' . $node->id() . '/edit', array('title[0][value]' => 'Updated title'), t('Save and keep published')); + $this->drupalPostForm('/node/' . $node->id() . '/edit', array('title[0][value]' => 'Updated title'), t('Save')); $this->assertText('Created new alias /content/updated-title for'); $this->assertText('replacing /content/verbose-settings-test.'); }