Skip to content

Commit

Permalink
Fix typo in SNTDeviceManager tests & ensure they run in the CI. (goog…
Browse files Browse the repository at this point in the history
  • Loading branch information
pmarkowsky authored Mar 14, 2022
1 parent 2f40893 commit 2043983
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Source/santad/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ test_suite(
tests = [
":SNTApplicationCoreMetricsTest",
":SNTApplicationTest",
":SNTDeviceManagerTest",
":SNTEndpointSecurityManagerTest",
":SNTEventTableTest",
":SNTExecutionControllerTest",
Expand Down
4 changes: 2 additions & 2 deletions Source/santad/EventProviders/SNTDeviceManagerTest.mm
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ - (void)testRemount {

__block NSString *gotmntonname, *gotmntfromname;
__block NSArray<NSString *> *gotRemountedArgs;
deviceManager.deviceBlockCallbacks = ^(SNTDeviceEvent *event) {
deviceManager.deviceBlockCallback = ^(SNTDeviceEvent *event) {
gotRemountedArgs = event.remountArgs;
gotmntonname = event.mntonname;
gotmntfromname = event.mntfromname;
Expand Down Expand Up @@ -172,7 +172,7 @@ - (void)testBlockNoRemount {

__block NSString *gotmntonname, *gotmntfromname;
__block NSArray<NSString *> *gotRemountedArgs;
deviceManager.deviceBlockCallbacks = ^(SNTDeviceEvent *event) {
deviceManager.deviceBlockCallback = ^(SNTDeviceEvent *event) {
gotRemountedArgs = event.remountArgs;
gotmntonname = event.mntonname;
gotmntfromname = event.mntfromname;
Expand Down

0 comments on commit 2043983

Please sign in to comment.