Skip to content

Commit 27c1a21

Browse files
committed
Fix CI device identifier
1 parent 0581513 commit 27c1a21

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/documentation_coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
percentage=$(jazzy --module CorePermissionsSwiftUI --swift-build-tool xcodebuild --build-tool-arguments -scheme,PermissionsSwiftUI,-sdk,iphoneos,-destination,id=6D8B3936-07C0-4F7D-8ADB-81B3E5BC4112,-verbose --author 'Jevon Mao' --author_url https://jingwen-mao.mit-license.org/ | tail -4 | head -n 1 | cut -d " " -f1
3+
percentage=$(jazzy --module CorePermissionsSwiftUI --swift-build-tool xcodebuild --build-tool-arguments -scheme,PermissionsSwiftUI,-sdk,iphoneos,-destination,id=A06F71FC-0B53-4741-AD85-D237B6FB06A0,-verbose --author 'Jevon Mao' --author_url https://jingwen-mao.mit-license.org/ | tail -4 | head -n 1 | cut -d " " -f1
44
)
55

66
#if [ $? -eq 0 ]

Tests/PermissionsSwiftUITests/PermissionsSwiftUITests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,19 +425,19 @@ final class PermissionsSwiftUITests: XCTestCase {
425425
}
426426

427427
func testAllowButtonAltLabel() {
428-
let store = PermissionStore()
428+
var store = PermissionStore()
429429
let normalView = PermissionSectionCell(permissionManager: .calendar,
430430
showing: .constant(true))
431431
.environmentObject(store)
432432
.environmentObject(PermissionSchemaStore(store: store,
433433
permissionViewStyle: .modal))
434+
assertSnapshot(matching: normalView, as: .image(precision: 0.99))
434435
store.configStore.mainTexts.useAltButtonLabel = true
435436
let altView = PermissionSectionCell(permissionManager: .calendar,
436437
showing: .constant(true))
437438
.environmentObject(store)
438439
.environmentObject(PermissionSchemaStore(store: store,
439440
permissionViewStyle: .modal))
440-
assertSnapshot(matching: normalView, as: .image(precision: 0.99))
441441
assertSnapshot(matching: altView, as: .image(precision: 0.99))
442442
}
443443

0 commit comments

Comments
 (0)