diff options
| author | Christian Cleberg <[email protected]> | 2026-04-13 20:07:53 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-13 20:07:53 -0500 |
| commit | 312e535f400f31714b3750de5222a1f6a8e5bcda (patch) | |
| tree | dfa0d9dfcfd08187befa79cf5d8afc4da9fef860 /HutchTests/SRHTWebURLTests.swift | |
| parent | fe1ccc69661603d419a642a450e4ac9e1258adb0 (diff) | |
| download | hutch-312e535f400f31714b3750de5222a1f6a8e5bcda.tar.gz hutch-312e535f400f31714b3750de5222a1f6a8e5bcda.tar.bz2 hutch-312e535f400f31714b3750de5222a1f6a8e5bcda.zip | |
fix: sonarqube code smell fixesv3.1.4
Diffstat (limited to 'HutchTests/SRHTWebURLTests.swift')
| -rw-r--r-- | HutchTests/SRHTWebURLTests.swift | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/HutchTests/SRHTWebURLTests.swift b/HutchTests/SRHTWebURLTests.swift index c1f0dc0..d1053e6 100644 --- a/HutchTests/SRHTWebURLTests.swift +++ b/HutchTests/SRHTWebURLTests.swift @@ -14,22 +14,24 @@ struct SRHTWebURLTests { } private let repository = RepositorySummary( - id: 1, - rid: "repo-1", - service: .git, - name: "hutch", - description: nil, - visibility: .public, - updated: .distantPast, - owner: Entity(canonicalName: "~ccleberg"), - head: nil + fields: .init( + id: 1, + rid: "repo-1", + service: .git, + name: "hutch", + description: nil, + visibility: .publicVisibility, + updated: .distantPast, + owner: Entity(canonicalName: "~ccleberg"), + head: nil + ) ) private let tracker = TrackerSummary( id: 2, rid: "tracker-1", name: "todo", description: nil, - visibility: .public, + visibility: .publicVisibility, updated: .distantPast, owner: Entity(canonicalName: "~ccleberg") ) |
