Skip to content

Commit

Permalink
fix: reduce prefab count to prevent errors when examples are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
uweeby committed Sep 30, 2020
1 parent d22c135 commit a531fa0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Assets/Tests/Editor/NetworkClientInspectorTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Collections;
using System.Collections.Generic;
using NUnit.Framework;
using UnityEngine;

Expand All @@ -19,7 +17,7 @@ public void RegisterPrefabs()
NetworkClientInspector inspector = ScriptableObject.CreateInstance<NetworkClientInspector>();
inspector.RegisterPrefabs(client);

Assert.That(client.spawnPrefabs, Has.Count.GreaterThan(13));
Assert.That(client.spawnPrefabs, Has.Count.GreaterThan(2));

foreach (var prefab in client.spawnPrefabs)
{
Expand Down

0 comments on commit a531fa0

Please sign in to comment.