diff --git a/modules/authcache_p13n/tests/authcache_p13n.request-handler.test b/modules/authcache_p13n/tests/authcache_p13n.request-handler.test index ae3202a..d7cc352 100644 --- a/modules/authcache_p13n/tests/authcache_p13n.request-handler.test +++ b/modules/authcache_p13n/tests/authcache_p13n.request-handler.test @@ -604,6 +604,10 @@ class AuthcacheP13nTestFragmentAssemblyBuilder extends DrupalUnitTestCase { 'renderer' => new AuthcacheP13nTestEchoPartial(), 'access' => new AuthcacheP13nTestEchoFragmentAccess(), ), + 'inaccessible_param' => array( + 'renderer' => new AuthcacheP13nTestEchoPartial(), + 'access' => new AuthcacheP13nTestEchoFragmentAccess(), + ), ); $builder = new AuthcacheP13nFragmentAssemblyBuilder($partials); @@ -614,7 +618,10 @@ class AuthcacheP13nTestFragmentAssemblyBuilder extends DrupalUnitTestCase { ); $user = $fake_user; - $input = array('a' => array('param_1' => array('account' => $fake_user))); + $input = array('a' => array( + 'param_1' => array('account' => $fake_user), + 'inaccessible_param' => array('account' => NULL) + )); $result = $builder->build($input, array()); $this->assertEqual($result, $expected); $user = $orig_user;