You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/11/27 08:24:59 UTC
[struts] 16/23: WW-5233 Fixes broken test
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch WW-5233-tiles
in repository https://gitbox.apache.org/repos/asf/struts.git
commit d694cce7c938741dcb626e54fe47c343723ab063
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Mon Oct 3 09:01:58 2022 +0200
WW-5233 Fixes broken test
---
.../tiles/request/collection/ReadOnlyEnumerationMapEntrySetTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/tiles/src/test/java/org/apache/tiles/request/collection/ReadOnlyEnumerationMapEntrySetTest.java b/plugins/tiles/src/test/java/org/apache/tiles/request/collection/ReadOnlyEnumerationMapEntrySetTest.java
index a77d6bd82..ad44d0379 100644
--- a/plugins/tiles/src/test/java/org/apache/tiles/request/collection/ReadOnlyEnumerationMapEntrySetTest.java
+++ b/plugins/tiles/src/test/java/org/apache/tiles/request/collection/ReadOnlyEnumerationMapEntrySetTest.java
@@ -160,6 +160,7 @@ public class ReadOnlyEnumerationMapEntrySetTest {
expect(extractor.getKeys()).andReturn(keys);
expect(keys.hasMoreElements()).andReturn(true);
+ expect(keys.hasMoreElements()).andReturn(true);
expect(keys.nextElement()).andReturn("two");
expect(extractor.getValue("two")).andReturn(2);