@@ -574,11 +574,11 @@ const char kGetFileTestFile[] = "GetFileTest.txt";
574574const char kFileUriScheme [] = " file://" ;
575575
576576// TODO(b/255839066): Re-enable this test after the iOS 10.1.0 release
577- #if FIREBASE_PLATFORM_IOS
577+ #if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
578578TEST_F (FirebaseStorageTest, DISABLED_TestPutFileAndGetFile) {
579579#else
580580TEST_F (FirebaseStorageTest, TestPutFileAndGetFile) {
581- #endif // FIREBASE_PLATFORM_IOS
581+ #endif // FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
582582 SignIn ();
583583
584584 firebase::storage::StorageReference ref =
@@ -1466,13 +1466,13 @@ TEST_F(FirebaseStorageTest, TestLargeFileCancelUpload) {
14661466 // Cancel the operation and verify it was successfully canceled.
14671467 EXPECT_TRUE (controller.Cancel ());
14681468
1469- #if FIREBASE_PLATFORM_IOS
1469+ #if FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
14701470 // TODO(b/255839066): Change this to expect kErrorCancelled once iOS SDK
14711471 // returns the correct error code.
14721472 WaitForCompletion (future, " PutBytes" , firebase::storage::kErrorUnknown );
14731473#else
14741474 WaitForCompletion (future, " PutBytes" , firebase::storage::kErrorCancelled );
1475- #endif // FIREBASE_PLATFORM_IOS
1475+ #endif // FIREBASE_PLATFORM_IOS || FIREBASE_PLATFORM_TVOS
14761476
14771477 FLAKY_TEST_SECTION_END ();
14781478}
0 commit comments