1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 20:10:08 +02:00

👌 Code cleanup

This commit is contained in:
2022-05-15 15:15:49 +02:00
parent 1392b6e4a0
commit b0c62e226a
10 changed files with 87 additions and 44 deletions

View File

@ -0,0 +1,23 @@
//
// PhpIniTest.swift
// PHP Monitor
//
// Created by Nico Verbruggen on 04/05/2022.
// Copyright © 2022 Nico Verbruggen. All rights reserved.
//
import XCTest
class PhpConfigurationTest: XCTestCase {
static var phpIniFileUrl: URL {
return Bundle(for: Self.self).url(forResource: "php", withExtension: "ini")!
}
func testCanLoadExtension() throws {
let iniFile = PhpConfigurationFile.from(filePath: Self.phpIniFileUrl.path)
XCTAssertNotNil(iniFile)
}
}