You are here

public function WorkbenchModerationExternalNodeUpdateTestCase::resaveNode in Workbench Moderation 7

Same name and namespace in other branches
  1. 7.3 tests/external_node_update.test \WorkbenchModerationExternalNodeUpdateTestCase::resaveNode()

Resave the node in an external module.

1 call to WorkbenchModerationExternalNodeUpdateTestCase::resaveNode()
WorkbenchModerationExternalNodeUpdateTestCase::testNodeSave in tests/external_node_update.test
Tests if nodes can be moderated by third party modules.

File

tests/external_node_update.test, line 103
Tests moderation states when nodes are (un)published by other modules.

Class

WorkbenchModerationExternalNodeUpdateTestCase
@file Tests moderation states when nodes are (un)published by other modules.

Code

public function resaveNode() {
  $this
    ->drupalGet('workbench_moderation_test/' . $this->node->nid);
  $this
    ->refreshNode();
}