mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[Testing] ASVideoNodeTests should not pass in an invalid combination of ASInterfaceState flags.
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
_videoNode.asset = _firstAsset;
|
||||
|
||||
[_videoNode pause];
|
||||
[_videoNode setInterfaceState:ASInterfaceStateVisible];
|
||||
[_videoNode setInterfaceState:ASInterfaceStateVisible | ASInterfaceStateDisplay];
|
||||
[_videoNode didLoad];
|
||||
|
||||
XCTAssert(![_videoNode.subnodes containsObject:_videoNode.playerNode]);
|
||||
|
||||
Reference in New Issue
Block a user