mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 20:42:21 +00:00
stephenc asks to use TODO rather than XXX
This commit is contained in:
1 parent
e67746c97f
commit
b1c82f1e30
38 files changed
+52
-52
No files matched your search
@@ -181,7 +181,7 @@ public class FunctionsTest {
|
||||
when(Stapler.getCurrentRequest()).thenReturn(req);
|
||||
TopLevelItemAndItemGroup ms = mock(TopLevelItemAndItemGroup.class);
|
||||
when(ms.getShortUrl()).thenReturn("job/ms/");
|
||||
// XXX "." (in second ancestor) is what Stapler currently fails to do. Could edit test to use ".." but set a different request path?
|
||||
// TODO "." (in second ancestor) is what Stapler currently fails to do. Could edit test to use ".." but set a different request path?
|
||||
createMockAncestors(req, createAncestor(j, "../.."), createAncestor(ms, "."));
|
||||
Item m = mock(Item.class);
|
||||
when(m.getParent()).thenReturn(ms);
|
||||
|
||||
Reference in new issue
Block a user