continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r220170 - /maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/NewModelTest.java
Date Thu, 21 Jul 2005 19:11:11 GMT
Author: trygvis
Date: Thu Jul 21 12:11:09 2005
New Revision: 220170

URL: http://svn.apache.org/viewcvs?rev=220170&view=rev
Log:
o Fetching the object before using it.

Modified:
    maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/NewModelTest.java

Modified: maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/NewModelTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/NewModelTest.java?rev=220170&r1=220169&r2=220170&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/NewModelTest.java
(original)
+++ maven/continuum/trunk/continuum-core/src/test/java/org/apache/maven/continuum/store/NewModelTest.java
Thu Jul 21 12:11:09 2005
@@ -39,7 +39,13 @@
 
         ContinuumProject project = getStore().getProject( projectId );
 
-        project.addBuildGroup( createStubBuildGroup( "Plexus", "Description" ) );
+        ContinuumBuildGroup buildGroup = createStubBuildGroup( "Plexus", "Description" );
+
+        String buildGroupId = getStore().addBuildGroup( buildGroup );
+
+        buildGroup = getStore().getBuildGroup( buildGroupId );
+
+        project.addBuildGroup( buildGroup );
 
         getStore().updateProject( project );
 



Mime
View raw message