Skip to content

Commit a171e85

Browse files
committed
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
1 parent 4b49c12 commit a171e85

File tree

4 files changed

+12
-19
lines changed

4 files changed

+12
-19
lines changed

Assets/FluidBehaviorTree/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,17 @@
22
"name": "Fluid.BehaviorTree.EditorTests",
33
"references": [
44
"Fluid.BehaviorTree",
5-
"Fluid.BehaviorTree.Editor",
6-
"UnityEngine.TestRunner",
7-
"UnityEditor.TestRunner"
5+
"Fluid.BehaviorTree.Editor"
86
],
97
"includePlatforms": [
108
"Editor"
119
],
1210
"excludePlatforms": [],
13-
"allowUnsafeCode": false,
14-
"overrideReferences": true,
1511
"precompiledReferences": [
1612
"nunit.framework.dll",
1713
"NSubstitute.dll"
1814
],
19-
"autoReferenced": false,
20-
"defineConstraints": [
21-
"UNITY_INCLUDE_TESTS"
22-
],
23-
"versionDefines": [],
24-
"noEngineReferences": false
25-
}
15+
"optionalUnityReferences": [
16+
"TestAssemblies"
17+
]
18+
}

Assets/FluidBehaviorTree/Tests/Editor/Fluid.BehaviorTree.EditorTests.asmdef.meta

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Packages/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"clever-crow.nsubstitute": "2.0.3",
1313
"com.unity.2d.sprite": "1.0.0",
1414
"com.unity.2d.tilemap": "1.0.0",
15-
"com.unity.ads": "2.0.8",
15+
"com.unity.ads": "3.4.5",
1616
"com.unity.analytics": "3.3.5",
1717
"com.unity.collab-proxy": "1.2.16",
1818
"com.unity.ide.rider": "1.1.4",
19-
"com.unity.ide.vscode": "1.1.4",
19+
"com.unity.ide.vscode": "1.2.0",
2020
"com.unity.purchasing": "2.0.6",
21-
"com.unity.test-framework": "1.1.9",
21+
"com.unity.test-framework": "1.1.14",
2222
"com.unity.textmeshpro": "2.0.1",
2323
"com.unity.timeline": "1.2.10",
2424
"com.unity.ugui": "1.0.0",

ProjectSettings/ProjectVersion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2019.3.0f6
2-
m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf)
1+
m_EditorVersion: 2019.3.15f1
2+
m_EditorVersionWithRevision: 2019.3.15f1 (59ff3e03856d)

0 commit comments

Comments
 (0)