From 8ea502d84ebcdd4e78f94f862b190fb859a13598 Mon Sep 17 00:00:00 2001 From: Victoria Gribkova Date: Thu, 28 Jan 2021 12:49:07 +0300 Subject: [PATCH] fixed AllureExtendedConfiguration not created from AllureConfiguration --- src/allure-nunit/Core/AllureExtendedConfiguration.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/allure-nunit/Core/AllureExtendedConfiguration.cs b/src/allure-nunit/Core/AllureExtendedConfiguration.cs index 7a3bfa6..e531147 100644 --- a/src/allure-nunit/Core/AllureExtendedConfiguration.cs +++ b/src/allure-nunit/Core/AllureExtendedConfiguration.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using Allure.Commons.Configuration; +using Newtonsoft.Json; namespace NUnit.Allure.Core { @@ -7,6 +8,7 @@ internal class AllureExtendedConfiguration : AllureConfiguration { public HashSet BrokenTestData { get; set; } = new HashSet(); + [JsonConstructor] protected AllureExtendedConfiguration(string title, string directory, HashSet links) : base(title, directory, links) {