Author: dcaruana
Date: Mon Mar 29 11:39:50 2010
New Revision: 928725

URL: http://svn.apache.org/viewvc?rev=928725&view=rev
Log:
Fix incorrect url arg in TCK Relationships test.
- relationshipType => typeId

Modified:
    
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/RelationshipsTest.java

Modified: 
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/RelationshipsTest.java
URL: 
http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/RelationshipsTest.java?rev=928725&r1=928724&r2=928725&view=diff
==============================================================================
--- 
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/RelationshipsTest.java
 (original)
+++ 
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/test/spec/RelationshipsTest.java
 Mon Mar 29 11:39:50 2010
@@ -42,6 +42,7 @@ import org.junit.Assert;
 public class RelationshipsTest extends TCKTest {
 
     public static final String ARG_INCLUDE_SUB_RELATIONSHIP_TYPES = 
"includeSubRelationshipTypes";
+    public static final String ARG_RELATIONSHIP_TYPE_ID = "typeId";
 
     
     @Override
@@ -145,7 +146,7 @@ public class RelationshipsTest extends T
         
         // retrieve all relationships
         Map<String, String> args = new HashMap<String, String>();
-        args.put("includeSubRelationshipTypes", "true");
+        args.put(ARG_INCLUDE_SUB_RELATIONSHIP_TYPES, "true");
         Feed relsBeforeCreate = client.getFeed(relsLink.getHref(), args);
         assertNotNull(relsBeforeCreate);
         assertEquals(0, relsBeforeCreate.getEntries().size());
@@ -163,7 +164,7 @@ public class RelationshipsTest extends T
         assertNotNull(rel);
 
         // retrieve all relationships
-        args.put("relationshipType", options.getRelationshipType());
+        args.put(ARG_RELATIONSHIP_TYPE_ID, options.getRelationshipType());
         Feed relsAfterCreate = client.getFeed(relsLink.getHref(), args);
         assertNotNull(relsAfterCreate);
         assertEquals(1, relsAfterCreate.getEntries().size());


Reply via email to