Skip to content

Commit

Permalink
fix(dependencies): nsubstitute no longer required
Browse files Browse the repository at this point in the history
Unity auto upgrade overwrote a sensitive asmdef file that started pulling in test files. This patch
restores things back to the expected functionality.

ashblue#18
  • Loading branch information
ashblue committed May 31, 2020
1 parent 4b49c12 commit a171e85
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
"optionalUnityReferences": [
"TestAssemblies"
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
"clever-crow.nsubstitute": "2.0.3",
"com.unity.2d.sprite": "1.0.0",
"com.unity.2d.tilemap": "1.0.0",
"com.unity.ads": "2.0.8",
"com.unity.ads": "3.4.5",
"com.unity.analytics": "3.3.5",
"com.unity.collab-proxy": "1.2.16",
"com.unity.ide.rider": "1.1.4",
"com.unity.ide.vscode": "1.1.4",
"com.unity.ide.vscode": "1.2.0",
"com.unity.purchasing": "2.0.6",
"com.unity.test-framework": "1.1.9",
"com.unity.test-framework": "1.1.14",
"com.unity.textmeshpro": "2.0.1",
"com.unity.timeline": "1.2.10",
"com.unity.ugui": "1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions ProjectSettings/ProjectVersion.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
m_EditorVersion: 2019.3.0f6
m_EditorVersionWithRevision: 2019.3.0f6 (27ab2135bccf)
m_EditorVersion: 2019.3.15f1
m_EditorVersionWithRevision: 2019.3.15f1 (59ff3e03856d)

0 comments on commit a171e85

Please sign in to comment.