Project

General

Profile

« Previous | Next » 

Revision 6093

Added by Matt Jones about 13 years ago

Fix AuthLdapTest to use accounts that are more reliable when searching for existing accounts in the getPrincipals output.

View differences:

test/edu/ucsb/nceas/metacattest/AuthLdapTest.java
68 68
     */
69 69
    public void initialize()
70 70
    {
71
    	//System.out.println("here");
72
        assertTrue(1 == 1);
71
        assertTrue(true);
73 72
    }
74 73
    
75 74
    public void getPrincipals()
......
85 84
    	    //System.out.println("after calling the getPrincipals method \n"+response);
86 85
    	    if ( response != null)
87 86
    	    {
88
    	       assertTrue("Couldn't find user tao in nceas",response.indexOf("uid=tao,o=NCEAS") != -1);
89
    	       assertTrue("Couldn't find user tao in lter",response.indexOf("uid=MCM,o=LTER") != -1);
87
    	       assertTrue("Couldn't find user from NCEAS",response.indexOf("uid=test,o=NCEAS") != -1);
88
    	       assertTrue("Couldn't find user from LTER",response.indexOf("uid=tmonkey,o=LTER") != -1);
90 89
    	    }
91 90
    	    else
92 91
    	    {

Also available in: Unified diff