Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AsyncDisplayKitTests/ASVideoNodeTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ - (void)testPlayerLayerNodeIsNotAddedIfVisibleButShouldNotBePlaying
_videoNode.asset = _firstAsset;

[_videoNode pause];
[_videoNode setInterfaceState:ASInterfaceStateVisible];
[_videoNode setInterfaceState:(ASInterfaceStateVisible & ASInterfaceStateDisplay)];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually needed to be an |, not &! hehe. I landed the fix.

[_videoNode didLoad];

XCTAssert(![_videoNode.subnodes containsObject:_videoNode.playerNode]);
Expand Down