Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Nov 2, 2023
1 parent 9e948c6 commit acd7bf5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ jobs:
if: |
(github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') ||
(github.event_name == 'pull_request' && needs.changes.outputs.changed == 'true')
runs-on: macos-12
runs-on: macos-13
needs: check
strategy:
matrix:
Expand All @@ -312,6 +312,8 @@ jobs:
- uses: ruby/setup-ruby@v1
- name: Setup Bundler
run: ./scripts/setup_bundler.sh
- name: Xcode
run: sudo xcode-select -s /Applications/Xcode_15.0.1.app/Contents/Developer

- name: Pod lib lint
# TODO(#9565, b/227461966): Remove --no-analyze when absl is fixed.
Expand Down Expand Up @@ -346,6 +348,9 @@ jobs:
exclude:
- os: macos-13
platforms: 'macos'
# Skip matrix cells covered by pod-lib-lint job.
- os: macos-13
platforms: 'ios'
include:
- os: macos-12
xcode: Xcode_14.2
Expand Down
4 changes: 2 additions & 2 deletions FirebaseDynamicLinks/Tests/Unit/FIRDynamicLinksTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ static void SwizzleDynamicLinkNetworking(id linkResolver) {
withBlock:dynamicLinkNetworkingBlock];
}

static void SwizzleDynamicLinkNetworkingWithMock() {
static void SwizzleDynamicLinkNetworkingWithMock(void) {
id linkResolver = OCMPartialMock([[FIRDynamicLinkNetworking alloc] initWithAPIKey:kAPIKey
URLScheme:kURLScheme]);
[[linkResolver stub] resolveShortLink:OCMOCK_ANY FDLSDKVersion:@"1.0.0" completion:OCMOCK_ANY];

SwizzleDynamicLinkNetworking(linkResolver);
}

static void UnswizzleDynamicLinkNetworking() {
static void UnswizzleDynamicLinkNetworking(void) {
[GULSwizzler unswizzleClass:[FIRDynamicLinks class]
selector:@selector(dynamicLinkNetworking)
isClassSelector:NO];
Expand Down

0 comments on commit acd7bf5

Please sign in to comment.