提交 7415fda1 编写于 作者: K Kohsuke Kawaguchi

updated the test to fix a regression

上级 2dd70965
...@@ -14,7 +14,7 @@ public class MatrixConfigurationSorterTest extends HudsonTestCase { ...@@ -14,7 +14,7 @@ public class MatrixConfigurationSorterTest extends HudsonTestCase {
public void testConfigRoundtrip() throws Exception { public void testConfigRoundtrip() throws Exception {
MatrixProject p = createMatrixProject(); MatrixProject p = createMatrixProject();
configRoundtrip((Item)p); configRoundtrip((Item)p);
assertNull(p.getSorter()); assertEqualDataBoundBeans(new NoopMatrixConfigurationSorter(),p.getSorter());
SorterImpl before = new SorterImpl(); SorterImpl before = new SorterImpl();
p.setSorter(before); p.setSorter(before);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册