Skip to content

Commit

Permalink
chore: test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred committed Aug 12, 2024
1 parent 0dce03a commit 3faa5f0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ void requiredShadowVariableDependencies() {
.withMessageContaining("Maybe check if cascadeValue is annotated with @CascadingUpdateShadowVariable");
assertThatIllegalArgumentException().isThrownBy(TestdataCascadingInvalidPiggyback::buildEntityDescriptor)
.withMessageContaining(
"The entityClass (class ai.timefold.solver.core.impl.testdata.domain.shadow.wrong_cascade.TestdataCascadingPiggyback)")
"The entityClass (class ai.timefold.solver.core.impl.testdata.domain.shadow.wrong_cascade.TestdataCascadingInvalidPiggyback)")
.withMessageContaining("has a @PiggybackShadowVariable annotated property (cascadeValue2)")
.withMessageContaining(
"with refVariable (TestdataCascadingPiggyback.cascadeValue) that lacks a @ShadowVariable annotation");
"with refVariable (TestdataCascadingInvalidPiggyback.cascadeValue) that lacks a @ShadowVariable annotation");
}

@Test
Expand Down

0 comments on commit 3faa5f0

Please sign in to comment.