Skip to content

Commit

Permalink
Update error message expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure committed Dec 19, 2024
1 parent 11e3052 commit 0079140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/AppTests/IngestorTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ class IngestorTests: AppTestCase {
XCTAssertEqual(logs.count, 1)
let log = try XCTUnwrap(logs.first)
XCTAssertEqual(log.level, .critical)
XCTAssertEqual(log.message, #"Ingestion.Error(\#(try failed.requireID()), repositorySaveUniqueViolation(duplicate key value violates unique constraint "idx_repositories_owner_name"))"#)
XCTAssertEqual(log.message, #"Ingestion.Error(\#(try failed.requireID()), repositorySaveUniqueViolation(owner, name, duplicate key value violates unique constraint "idx_repositories_owner_name"))"#)
}

// ensure analysis can process these packages
Expand Down

0 comments on commit 0079140

Please sign in to comment.