You are here

function ContextReactionBlockAjaxAccessTest::test in Context 7.3

Same name and namespace in other branches
  1. 6.3 tests/context.reactions.test \ContextReactionBlockAjaxAccessTest::test()

File

tests/context.reactions.test, line 123

Class

ContextReactionBlockAjaxAccessTest

Code

function test() {
  $this
    ->drupalGet('node', array(
    'query' => array(
      'context_block' => 'user-online,testcontext',
    ),
  ));
  $this
    ->assertText('"status":0', 'Failed return status.');
}