Skip to content

Commit cfbb9e4

Browse files
committed
Convert LiveTests
1 parent 7228a54 commit cfbb9e4

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Tests/AppTests/LiveTests.swift

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,21 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
import Foundation
16+
1517
@testable import App
1618

1719
import Dependencies
18-
import XCTVapor
19-
20+
import Testing
21+
import Vapor
2022

21-
class LiveTests: XCTestCase {
2223

23-
func test_Mastodon_post() async throws {
24-
// Only run this test manually to confirm posting works
25-
try XCTSkipIf(true)
24+
@Suite struct LiveTests {
2625

26+
@Test(
27+
.disabled("Only run this test manually to confirm posting works")
28+
)
29+
func Mastodon_post() async throws {
2730
try await withDependencies {
2831
$0.environment.mastodonCredentials = { .dev }
2932
$0.httpClient = .liveValue

0 commit comments

Comments
 (0)