Skip to content

Commit

Permalink
trying to override eid
Browse files Browse the repository at this point in the history
  • Loading branch information
windley committed May 11, 2016
1 parent 3710bff commit 4dd8419
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Kynetx/Request.pm
Expand Up @@ -156,6 +156,12 @@ sub build_request_env {
|| $r->headers_in->{'Kobj-Session'};
my $api = $options->{'api'} || 'ruleset';

# allow the random EID to be overridden
$eid = $req_params->{'_eid'}
|| $body_params->{'_eid'}
|| $eid;


# build initial envv
my $ug = new Data::UUID;

Expand Down
1 change: 0 additions & 1 deletion t/Request.t
Expand Up @@ -183,7 +183,6 @@ is(Kynetx::Request::get_attr($my_req_info, "type"), undef, $description);
$test_count++;



######################### Clean up
Kynetx::Test::flush_test_user($user_ken,$user_username);

Expand Down

0 comments on commit 4dd8419

Please sign in to comment.