From cc8e76cb0dd497f0f7f4c693d28b657eef215950 Mon Sep 17 00:00:00 2001 From: Quinten Van Assche Date: Wed, 15 Nov 2023 16:05:50 +0100 Subject: [PATCH] fix: or-1952 fix faulty test --- .../Afdeling/When_RegistreerAfdeling/With_All_Fields.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/AssociationRegistry.Test.Admin.Api/Afdeling/When_RegistreerAfdeling/With_All_Fields.cs b/test/AssociationRegistry.Test.Admin.Api/Afdeling/When_RegistreerAfdeling/With_All_Fields.cs index a99219051..9529331f7 100644 --- a/test/AssociationRegistry.Test.Admin.Api/Afdeling/When_RegistreerAfdeling/With_All_Fields.cs +++ b/test/AssociationRegistry.Test.Admin.Api/Afdeling/When_RegistreerAfdeling/With_All_Fields.cs @@ -184,8 +184,8 @@ public void Then_it_saves_the_events() savedEvent.KorteNaam.Should().Be(Request.KorteNaam); savedEvent.Moedervereniging.KboNummer.Should().Be(Request.KboNummerMoedervereniging); - savedEvent.Moedervereniging.VCode.Should().Be(string.Empty); - savedEvent.Moedervereniging.Naam.Should().Be($"Moeder {Request.KboNummerMoedervereniging}"); + savedEvent.Moedervereniging.VCode.Should().NotBeEmpty(); + savedEvent.Moedervereniging.Naam.Should().NotBeEmpty(); savedEvent.KorteBeschrijving.Should().Be(Request.KorteBeschrijving); savedEvent.Startdatum.Should().Be(Request.Startdatum!.Value); savedEvent.Doelgroep.Should().BeEquivalentTo(new Registratiedata.Doelgroep(