You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2022/09/03 17:42:35 UTC

[isis] branch master updated: ISIS-3202: test fix for prev.commit

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 577f767716 ISIS-3202: test fix for prev.commit
577f767716 is described below

commit 577f7677165917207daaef7cc15b4e7e22d097b3
Author: Andi Huber <ah...@apache.org>
AuthorDate: Sat Sep 3 19:42:29 2022 +0200

    ISIS-3202: test fix for prev.commit
---
 .../facets/object/ident/title/TitleAnnotationFacetFactoryTest.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/object/ident/title/TitleAnnotationFacetFactoryTest.java b/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/object/ident/title/TitleAnnotationFacetFactoryTest.java
index c0c13c4e43..162577eb21 100644
--- a/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/object/ident/title/TitleAnnotationFacetFactoryTest.java
+++ b/core/metamodel/src/test/java/org/apache/isis/core/metamodel/facets/object/ident/title/TitleAnnotationFacetFactoryTest.java
@@ -31,6 +31,8 @@ import static org.hamcrest.CoreMatchers.is;
 import static org.hamcrest.MatcherAssert.assertThat;
 import static org.junit.jupiter.api.Assertions.assertEquals;
 
+import org.apache.isis.applib.annotation.DomainObject;
+import org.apache.isis.applib.annotation.Nature;
 import org.apache.isis.applib.annotation.Title;
 import org.apache.isis.core.metamodel.facetapi.Facet;
 import org.apache.isis.core.metamodel.facets.AbstractFacetFactoryJUnit4TestCase;
@@ -150,6 +152,7 @@ extends AbstractFacetFactoryJUnit4TestCase {
         Assert.assertNull(facetedMethod.getFacet(TitleFacet.class));
     }
 
+    @DomainObject(nature = Nature.VIEW_MODEL)
     public static class Customer4 {
 
         @Title(sequence = "1")