From e4099ffc1dbdc5cc7d8f364a9ab105ecbfedd829 Mon Sep 17 00:00:00 2001 From: Iosif Moldovan Date: Fri, 26 Oct 2018 09:51:30 +0300 Subject: [PATCH] try fix Circle CI fail test --- Tests/ControllersTest/AudioControllerTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/ControllersTest/AudioControllerTests.swift b/Tests/ControllersTest/AudioControllerTests.swift index bf65aeb1..b20c2a61 100644 --- a/Tests/ControllersTest/AudioControllerTests.swift +++ b/Tests/ControllersTest/AudioControllerTests.swift @@ -61,7 +61,7 @@ class AdioControllerTests: XCTestCase { XCTAssertNotNil(audioController.audioPlayer) XCTAssertNotNil(audioController.playingCell) XCTAssertNotNil(audioController.playingMessage) - XCTAssertTrue(audioController.audioPlayer?.isPlaying ?? false, "Audio player should be playing") + XCTAssertTrue(audioController.audioPlayer!.isPlaying, "Audio player should be playing") XCTAssertTrue(audioCell.playButton.isSelected, "Audio cell play button should be in selected state") }