@@ -42,7 +42,7 @@ final class FatalIssueReporterTests: XCTestCase {
4242 }
4343
4444 func testNoConfig( ) {
45- Logger . initFatalIssueReporting ( )
45+ Logger . initFatalIssueReporting ( . customConfig )
4646 let result = Logger . issueReporterInitResult
4747 XCTAssertEqual ( IssueReporterInitState . initialized ( . missingConfigFile) , result. 0 )
4848
@@ -53,7 +53,7 @@ final class FatalIssueReporterTests: XCTestCase {
5353
5454 func testNoConfigDir( ) {
5555 try ! FileManager . default. removeItem ( at: reportDir)
56- Logger . initFatalIssueReporting ( )
56+ Logger . initFatalIssueReporting ( . customConfig )
5757 let result = Logger . issueReporterInitResult
5858 XCTAssertEqual ( IssueReporterInitState . initialized ( . missingConfigFile) , result. 0 )
5959
@@ -64,7 +64,7 @@ final class FatalIssueReporterTests: XCTestCase {
6464
6565 func testBrokenConfig( ) {
6666 createConfig ( " some nonsense " )
67- Logger . initFatalIssueReporting ( )
67+ Logger . initFatalIssueReporting ( . customConfig )
6868 let result = Logger . issueReporterInitResult
6969 XCTAssertEqual ( IssueReporterInitState . initialized ( . malformedConfigFile) , result. 0 )
7070
@@ -79,7 +79,7 @@ final class FatalIssueReporterTests: XCTestCase {
7979 directory: " the-files/special " ,
8080 filename: " something.yam " ,
8181 contents: String ( repeating: " <stuff> " , count: 100 ) )
82- Logger . initFatalIssueReporting ( )
82+ Logger . initFatalIssueReporting ( . customConfig )
8383 let result = Logger . issueReporterInitResult
8484 XCTAssertEqual ( IssueReporterInitState . initialized ( . withoutPriorCrash) , result. 0 )
8585
@@ -97,7 +97,7 @@ final class FatalIssueReporterTests: XCTestCase {
9797 filename: " something.json " ,
9898 contents: initContents,
9999 attributes: [ . modificationDate: modDate] )
100- Logger . initFatalIssueReporting ( )
100+ Logger . initFatalIssueReporting ( . customConfig )
101101 let result = Logger . issueReporterInitResult
102102 XCTAssertEqual ( IssueReporterInitState . initialized ( . sent) , result. 0 )
103103 XCTAssertLessThan ( result. 1 , 50 )
@@ -140,7 +140,7 @@ final class FatalIssueReporterTests: XCTestCase {
140140 filename: " old-and-ignore.json " ,
141141 contents: String ( repeating: " <bad stuff> " , count: 100 ) ,
142142 attributes: [ . modificationDate: modDate - TimeInterval( 200 ) ] )
143- Logger . initFatalIssueReporting ( )
143+ Logger . initFatalIssueReporting ( . customConfig )
144144 let result = Logger . issueReporterInitResult
145145 XCTAssertEqual ( IssueReporterInitState . initialized ( . sent) , result. 0 )
146146 XCTAssertLessThan ( result. 1 , 50 )
0 commit comments