summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/com/gitblit/tests/RepositoryModelTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/com/gitblit/tests/RepositoryModelTest.java b/tests/com/gitblit/tests/RepositoryModelTest.java
index f7418152..611ed295 100644
--- a/tests/com/gitblit/tests/RepositoryModelTest.java
+++ b/tests/com/gitblit/tests/RepositoryModelTest.java
@@ -67,8 +67,8 @@ public class RepositoryModelTest {
RepositoryModel model = GitBlit.self().getRepositoryModel(
GitBlitSuite.getHelloworldRepository().getDirectory().getName());
- assertEquals("\\d", model.userDefinedProperties.get("commitMessageRegEx"));
- assertEquals("Hello", model.userDefinedProperties.get("anotherProperty"));
+ assertEquals("\\d", model.customDefinedProperties.get("commitMessageRegEx"));
+ assertEquals("Hello", model.customDefinedProperties.get("anotherProperty"));
}
@Test
@@ -76,17 +76,17 @@ public class RepositoryModelTest {
RepositoryModel model = GitBlit.self().getRepositoryModel(
GitBlitSuite.getHelloworldRepository().getDirectory().getName());
- assertEquals("\\d", model.userDefinedProperties.get("commitMessageRegEx"));
- assertEquals("Hello", model.userDefinedProperties.get("anotherProperty"));
+ assertEquals("\\d", model.customDefinedProperties.get("commitMessageRegEx"));
+ assertEquals("Hello", model.customDefinedProperties.get("anotherProperty"));
- assertEquals("Hello", model.userDefinedProperties.put("anotherProperty", "GoodBye"));
+ assertEquals("Hello", model.customDefinedProperties.put("anotherProperty", "GoodBye"));
GitBlit.self().updateRepositoryModel(model.name, model, false);
model = GitBlit.self().getRepositoryModel(
GitBlitSuite.getHelloworldRepository().getDirectory().getName());
- assertEquals("\\d", model.userDefinedProperties.get("commitMessageRegEx"));
- assertEquals("GoodBye", model.userDefinedProperties.get("anotherProperty"));
+ assertEquals("\\d", model.customDefinedProperties.get("commitMessageRegEx"));
+ assertEquals("GoodBye", model.customDefinedProperties.get("anotherProperty"));
}
}