[Testing] ASVideoNodeTests should not pass in an invalid combination of ASInterfaceState flags.

This commit is contained in:
Scott Goodson
2016-03-15 17:24:05 -07:00
parent 8fb18714ac
commit abd148ae2e

View File

@@ -140,7 +140,7 @@
_videoNode.asset = _firstAsset;
[_videoNode pause];
[_videoNode setInterfaceState:ASInterfaceStateVisible];
[_videoNode setInterfaceState:ASInterfaceStateVisible | ASInterfaceStateDisplay];
[_videoNode didLoad];
XCTAssert(![_videoNode.subnodes containsObject:_videoNode.playerNode]);