ISIS-1465: further tiny fix required for simpleapp archetype

Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/5d1438a6
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/5d1438a6
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/5d1438a6

Branch: refs/heads/maint-1.13.1
Commit: 5d1438a6689b1d7323bb7a791692c18b76c5122b
Parents: 29a3010
Author: Dan Haywood <d...@haywood-associates.co.uk>
Authored: Wed Sep 21 18:33:07 2016 +0100
Committer: Dan Haywood <d...@haywood-associates.co.uk>
Committed: Wed Sep 21 18:33:07 2016 +0100

----------------------------------------------------------------------
 .../dom/src/test/java/domainapp/dom/simple/SimpleObjectTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/5d1438a6/example/application/simpleapp/dom/src/test/java/domainapp/dom/simple/SimpleObjectTest.java
----------------------------------------------------------------------
diff --git 
a/example/application/simpleapp/dom/src/test/java/domainapp/dom/simple/SimpleObjectTest.java
 
b/example/application/simpleapp/dom/src/test/java/domainapp/dom/simple/SimpleObjectTest.java
index 69e36b8..371bc8d 100644
--- 
a/example/application/simpleapp/dom/src/test/java/domainapp/dom/simple/SimpleObjectTest.java
+++ 
b/example/application/simpleapp/dom/src/test/java/domainapp/dom/simple/SimpleObjectTest.java
@@ -35,10 +35,10 @@ public class SimpleObjectTest {
         @Test
         public void happyCase() throws Exception {
             // given
-            String name = "Foobar";
-            assertThat(simpleObject.getName()).isNull();
+            assertThat(simpleObject.getName()).isEqualTo("Foobar");
 
             // when
+            String name = "Foobar - updated";
             simpleObject.setName(name);
 
             // then

Reply via email to