anchor.diff:      end),
   
       ?assertEqual(ok, oz_endpoint:auth_request(
  -        {user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", method,
  +        {user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method,
           [headers], body, [options])),
       ?assertEqual(ok, oz_endpoint:noauth_request(
  -        {user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", method,
  +        {user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method,
           [headers], body, [options])),
       ?assertEqual(ok, oz_endpoint:auth_request(
  -        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", method,
  +        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method,
           [headers], body, [options])),
       ?assertEqual(ok, oz_endpoint:noauth_request(
  -        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", method,
  +        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method,
           [headers], body, [options])),
   
       ?assert(meck:validate(http_client)),
  
positive.code:     end),
  
      ?assertEqual(ok, oz_endpoint:auth_request(
          provider, "URN", method, body, [options])),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          provider, "URN", method, body, [options])),
      ?assertEqual(ok, oz_endpoint:auth_request(
          {try_user, undefined}, "URN", method, body, [options])),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          {try_user, undefined}, "URN", method, body, [options])),
  
      ?assert(meck:validate(http_client)),
      ok = meck:unload(http_client).
  
negative.code:     end),
  
      ?assertEqual(ok, oz_endpoint:auth_request(
          provider, "/URN", method, body)),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          provider, "/URN", method, body)),
      ?assertEqual(ok, oz_endpoint:auth_request(
          {try_user, undefined}, "/URN", method, body)),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          {try_user, undefined}, "/URN", method, body)),
  
      ?assert(meck:validate(http_client)),
      ok = meck:unload(http_client).
  