Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Oct 1, 2024
1 parent 712cd7a commit 8547d30
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/installations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
export FIS_INTEGRATION_TESTS_REQUIRED=${{ steps.secrets.outputs.val }}
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseInstallations.podspec \
--platforms=${{ matrix.target }} --test-specs=--platforms=${{ matrix.test-specs }}
--platforms=${{ matrix.target }} --test-specs=${{ matrix.test-specs }}
spm-package-resolved:
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,9 @@ - (void)setUp {

// Must initialize FIRApp before calling set experiment as Firebase Analytics internal event
// logging requires it.
NSDictionary *optionsDictionary = @{
kFIRGoogleAppID : @"1:123456789012:ios:1234567890123456",
@"GCM_SENDER_ID" : @"123456789012"
};
FIROptions *options = [[FIROptions alloc] initInternalWithOptionsDictionary:optionsDictionary];
FIROptions *options =
[[FIROptions alloc] initWithGoogleAppID:@"1:123456789012:ios:1234567890123456"
GCMSenderID:@"123456789012"];
[FIRApp configureWithOptions:options];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,10 @@ - (void)tearDown {
#pragma mark - Initialization

- (void)testInitWhenProjectIDSetThenItIsPassedToAPIService {
FIROptions *options = [[FIROptions alloc] initInternalWithOptionsDictionary:@{
kFIRAPIKey : @"api-key",
kFIRProjectID : @"project-id",
kFIRGoogleAppID : @"app-id",
kFIRGCMSenderID : @"sender-id"
}];
FIROptions *options = [[FIROptions alloc] initWithGoogleAppID:@"app-id" GCMSenderID:@"sender-id"];
options.projectID = @"project-id";
options.APIKey = @"api-key";

FIRApp *app = [[FIRApp alloc] initInstanceWithName:@"app-name" options:options];

OCMExpect([self.mockAPIService alloc]).andReturn(self.mockAPIService);
Expand Down

0 comments on commit 8547d30

Please sign in to comment.