Project

General

Profile

« Previous | Next » 

Revision 5139

Added by daigle over 14 years ago

Fix errors in workflow scheduler unit test

View differences:

WorkflowScheduler.java
484 484
			String authStatusXML = authorizationServiceClient.is_authorized_action(sessionId, resourceLsid, permission);
485 485
			
486 486
			authStatus = 
487
				xpath.evaluate("/resourceAuthorization/isAuthorized",  new InputSource(new StringReader(authStatusXML)));
487
				xpath.evaluate("/resourceAuthorization/isAuthorized",  new InputSource(new StringReader(authStatusXML)));		
488 488
			
489
			
490 489
		} catch (PropertyNotFoundException pnfe) {
491 490
			throw new MetacatSchedulerException("WorkflowScheduler.authorizeRemoteSession - Could not " 
492 491
					+ "find property: " + pnfe.getMessage());

Also available in: Unified diff