import Testing@testable import CodexBarCore @Suitestruct ProviderMetadataStatusLinkTests { @Test func workspaceStatusLinkMatchesProductID() { for (provider, meta) in ProviderDefaults.metadata { guard let productID = meta.statusWorkspaceProductID else { continue } let expected = "https://www.google.com/appsstatus/dashboard/products/\(productID)/history" #expect( meta.statusLinkURL == expected, "Expected \(provider.rawValue) statusLinkURL to be \(expected)") } }}
import Testing
@testable import CodexBarCore
@Suite
struct ProviderMetadataStatusLinkTests {
@Test
func workspaceStatusLinkMatchesProductID() {
for (provider, meta) in ProviderDefaults.metadata {
guard let productID = meta.statusWorkspaceProductID else { continue }
let expected = "https://www.google.com/appsstatus/dashboard/products/\(productID)/history"
#expect(
meta.statusLinkURL == expected,
"Expected \(provider.rawValue) statusLinkURL to be \(expected)")
}
}
}