From 505b22defa6923a230a64a8e4e851cf0a4a4d996 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Thu, 12 Sep 2024 16:29:30 +0200 Subject: [PATCH] Relax migrations --- src/test/java/org/jabref/architecture/MainArchitectureTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/jabref/architecture/MainArchitectureTest.java b/src/test/java/org/jabref/architecture/MainArchitectureTest.java index b9b8d73e6a3..46cf5b0f170 100644 --- a/src/test/java/org/jabref/architecture/MainArchitectureTest.java +++ b/src/test/java/org/jabref/architecture/MainArchitectureTest.java @@ -103,7 +103,7 @@ public void respectLayeredArchitecture(JavaClasses classes) { .layer(Migrations).definedBy("org.jabref.migrations..") // TODO: Move to logic .layer(Preferences).definedBy("org.jabref.preferences..") - .whereLayer(GUI).mayOnlyBeAccessedByLayers(CLI) + .whereLayer(GUI).mayOnlyBeAccessedByLayers(CLI, Migrations) .whereLayer(Logic).mayOnlyBeAccessedByLayers(GUI, CLI, Model, Migrations, Preferences) .whereLayer(Model).mayOnlyBeAccessedByLayers(GUI, Logic, Migrations, CLI, Preferences) .whereLayer(CLI).mayNotBeAccessedByAnyLayer()