diff --git a/WordPress/WordPressTest/SiteCreation/SiteDesignTests.swift b/WordPress/WordPressTest/SiteCreation/SiteDesignTests.swift index 9c4261fe4278..c813fd7d2543 100644 --- a/WordPress/WordPressTest/SiteCreation/SiteDesignTests.swift +++ b/WordPress/WordPressTest/SiteCreation/SiteDesignTests.swift @@ -39,19 +39,4 @@ class SiteDesignTests: XCTestCase { let currentTitle = siteDesignPreviewVC.primaryActionButton.currentTitle XCTAssertEqual(expectedPrimaryTitle, currentTitle) } - - /// Tests that the preview device on the Design view cannot be changed - func testSiteDesignPreviewDeviceIsAlwaysMobile() throws { - - // given - let siteDesignVC = SiteDesignContentCollectionViewController(createsSite: false) { _ in } - let expectedDevice = PreviewDeviceSelectionViewController.PreviewDevice.mobile - - // when - XCTAssertEqual(siteDesignVC.selectedPreviewDevice, expectedDevice) - siteDesignVC.selectedPreviewDevice = PreviewDeviceSelectionViewController.PreviewDevice.tablet - - // then - XCTAssertEqual(siteDesignVC.selectedPreviewDevice, expectedDevice) - } }