From d03ed281b36ba25034ca5f29288d061cf15a6870 Mon Sep 17 00:00:00 2001 From: Ash Blue Date: Sun, 31 May 2020 11:40:12 -0600 Subject: [PATCH] fix(dependencies): nsubstitute no longer required Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch restores things back to the expected functionality. #18 --- .../Fluid.BehaviorTree.EditorTests.asmdef | 17 +++++------------ .../Fluid.BehaviorTree.EditorTests.asmdef.meta | 4 ++-- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef b/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef index 290ac7d4..faf49cd5 100644 --- a/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef +++ b/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef @@ -2,24 +2,17 @@ "name": "Fluid.BehaviorTree.EditorTests", "references": [ "Fluid.BehaviorTree", - "Fluid.BehaviorTree.Editor", - "UnityEngine.TestRunner", - "UnityEditor.TestRunner" + "Fluid.BehaviorTree.Editor" ], "includePlatforms": [ "Editor" ], "excludePlatforms": [], - "allowUnsafeCode": false, - "overrideReferences": true, "precompiledReferences": [ "nunit.framework.dll", "NSubstitute.dll" ], - "autoReferenced": false, - "defineConstraints": [ - "UNITY_INCLUDE_TESTS" - ], - "versionDefines": [], - "noEngineReferences": false -} \ No newline at end of file + "optionalUnityReferences": [ + "TestAssemblies" + ] +} diff --git a/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef.meta b/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef.meta index 074804b5..dc4c0419 100644 --- a/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef.meta +++ b/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef.meta @@ -1,3 +1,3 @@ fileFormatVersion: 2 -guid: a4e18c38f01b44a39b64383624a0013e -timeCreated: 1559241519 \ No newline at end of file +guid: 5be2a7bcc49541138ded3df3c2c8d9c2 +timeCreated: 1590946187 \ No newline at end of file