Fix ProjectConfigTest

Since 8da3d4a9a6 the active project
state is not anymore persisted in the project.config file.

Change-Id: I2f9017a7016df075366dddff6a08e91ad4466818
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2013-07-11 09:14:59 +02:00
parent 20e3dd9b3e
commit 360340cbb9

View File

@@ -159,9 +159,8 @@ public class ProjectConfigTest extends LocalDiskRepositoryTestCase {
+ "[contributor-agreement \"Individual\"]\n" //
+ " description = A new description\n" //
+ " accepted = group Staff\n" //
+ " agreementUrl = http://www.example.com/agree\n" //
+ "[project]\n"//
+ "\tstate = active\n", text(rev, "project.config"));
+ " agreementUrl = http://www.example.com/agree\n",
text(rev, "project.config"));
}
@Test
@@ -188,9 +187,7 @@ public class ProjectConfigTest extends LocalDiskRepositoryTestCase {
+ " submit = group People Who Can Submit\n" //
+ "\tsubmit = group Staff\n" //
+ " upload = group Developers\n" //
+ " read = group Developers\n"//
+ "[project]\n"//
+ "\tstate = active\n", text(rev, "project.config"));
+ " read = group Developers\n", text(rev, "project.config"));
}
private ProjectConfig read(RevCommit rev) throws IOException,