1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-11-06 04:40:07 +01:00

♻️ Migrate more tests to Swift Testing (3/?)

This commit is contained in:
2025-09-29 17:59:33 +02:00
parent ceff52ed11
commit db8df8575d
22 changed files with 304 additions and 299 deletions

View File

@@ -0,0 +1,18 @@
//
// PackagistTest.swift
// PHP Monitor
//
// Created by Nico Verbruggen on 25/08/2025.
// Copyright © 2025 Nico Verbruggen. All rights reserved.
//
import Testing
struct PackagistTest {
@Test func canRetrieveLaravelValetVersion() async {
let packageToCheck = "laravel/valet"
let latestVersion = try? await Packagist.getLatestStableVersion(packageName: packageToCheck)
#expect(latestVersion != nil)
}
}