From 6675b6fdf8cacbfcc394dee876b0dc0047b18ef4 Mon Sep 17 00:00:00 2001 From: Simon Brown Date: Tue, 2 Jan 2024 11:28:47 +0000 Subject: [PATCH] Fixes test. --- .../component/workspace/WorkspaceComponentImplTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structurizr-onpremises/src/test/java/com/structurizr/onpremises/component/workspace/WorkspaceComponentImplTests.java b/structurizr-onpremises/src/test/java/com/structurizr/onpremises/component/workspace/WorkspaceComponentImplTests.java index 88cdc7b..1d3029b 100644 --- a/structurizr-onpremises/src/test/java/com/structurizr/onpremises/component/workspace/WorkspaceComponentImplTests.java +++ b/structurizr-onpremises/src/test/java/com/structurizr/onpremises/component/workspace/WorkspaceComponentImplTests.java @@ -830,7 +830,7 @@ public void test_putWorkspace_ThrowsAnException_WhenWorkspaceScopeValidationIsSt workspaceComponent.putWorkspace(1, json); fail(); } catch (WorkspaceComponentException e) { - assertEquals("Strict workspace scope validation has been enabled on this on-premises installation, but this workspace has no defined scope - see https://docs.structurizr.com/workspaces for more information.", e.getMessage()); + assertEquals("Strict workspace scope validation has been enabled for this on-premises installation. Unscoped workspaces are not permitted - see https://docs.structurizr.com/workspaces for more information.", e.getMessage()); } }