Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
Don't fail test based on log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Edvinas01 committed Jan 22, 2021
1 parent a46d128 commit 4b24be2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/Runtime/GameEvents/GameEventTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
using NUnit.Framework;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.TestTools;
using Assert = UnityEngine.Assertions.Assert;

namespace GameEvents
Expand Down Expand Up @@ -122,6 +123,8 @@ public void ShouldRaiseGameEventEvent()
[Test]
public void ShouldNotBreakChainWhenExceptionIsThrown()
{
LogAssert.ignoreFailingMessages = true;

// Given.
var gameObject = new UnityEngine.GameObject();
gameObject.SetActive(false);
Expand Down

0 comments on commit 4b24be2

Please sign in to comment.