| Lines 109-119
          subtest 'list() tests' => sub {
      
      
        Link Here | 
        
          | 109 |  | 109 |  | 
        
          | 110 |     # One illrequest created, returned with augmented data | 110 |     # One illrequest created, returned with augmented data | 
        
          | 111 |     $tx = $t->ua->build_tx( GET => | 111 |     $tx = $t->ua->build_tx( GET => | 
          
            
              | 112 |           '/api/v1/illrequests?embed=patron,library,capabilities,metadata' ); | 112 |           '/api/v1/illrequests?embed=patron,library,capabilities,metadata,requested_partners' ); | 
        
          | 113 |     $tx->req->cookies( { name => 'CGISESSID', value => $session_id } ); | 113 |     $tx->req->cookies( { name => 'CGISESSID', value => $session_id } ); | 
        
          | 114 |     $tx->req->env( { REMOTE_ADDR => $remote_address } ); | 114 |     $tx->req->env( { REMOTE_ADDR => $remote_address } ); | 
        
          | 115 |     $t->request_ok($tx)->status_is(200) | 115 |     $t->request_ok($tx)->status_is(200) | 
        
          | 116 |         ->json_has( '/0/patron', 'patron embedded' ) | 116 |         ->json_has( '/0/patron', 'patron embedded' ) | 
            
              |  |  | 117 |         ->json_has( '/0/requested_partners', 'requested_partners embedded' ) | 
        
          | 117 |         ->json_has( '/0/capabilities', 'capabilities embedded' ) | 118 |         ->json_has( '/0/capabilities', 'capabilities embedded' ) | 
        
          | 118 |         ->json_has( '/0/library', 'library embedded'  ) | 119 |         ->json_has( '/0/library', 'library embedded'  ) | 
        
          | 119 |         ->json_has( '/0/metadata', 'metadata embedded'  ); | 120 |         ->json_has( '/0/metadata', 'metadata embedded'  ); | 
            
              | 120 | -  |  |  |