@@ -346,10 +346,7 @@ fn patch_marker_single_activity(
346346 let mut t = TestHistoryBuilder :: default ( ) ;
347347 t. add_by_type ( EventType :: WorkflowExecutionStarted ) ;
348348 t. add_full_wf_task ( ) ;
349- t. set_flags_first_wft (
350- & [ CoreInternalFlags :: UpsertSearchAttributeOnPatch as u32 ] ,
351- & [ ] ,
352- ) ;
349+ t. set_flags_first_wft ( & [ CoreInternalFlags :: UpsertSearchAttributeOnPatch ] , & [ ] ) ;
353350 match marker_type {
354351 MarkerType :: Deprecated => {
355352 t. add_has_change_marker ( MY_PATCH_ID , true ) ;
@@ -720,10 +717,7 @@ async fn same_change_multiple_spots(#[case] have_marker_in_hist: bool, #[case] r
720717 let mut t = TestHistoryBuilder :: default ( ) ;
721718 t. add_by_type ( EventType :: WorkflowExecutionStarted ) ;
722719 t. add_full_wf_task ( ) ;
723- t. set_flags_first_wft (
724- & [ CoreInternalFlags :: UpsertSearchAttributeOnPatch as u32 ] ,
725- & [ ] ,
726- ) ;
720+ t. set_flags_first_wft ( & [ CoreInternalFlags :: UpsertSearchAttributeOnPatch ] , & [ ] ) ;
727721 if have_marker_in_hist {
728722 t. add_has_change_marker ( MY_PATCH_ID , false ) ;
729723 t. add_upsert_search_attrs_for_patch ( & [ MY_PATCH_ID . to_string ( ) ] ) ;
@@ -830,10 +824,7 @@ async fn many_patches_combine_in_search_attrib_update(#[case] num_patches: usize
830824 let mut t = TestHistoryBuilder :: default ( ) ;
831825 t. add_by_type ( EventType :: WorkflowExecutionStarted ) ;
832826 t. add_full_wf_task ( ) ;
833- t. set_flags_first_wft (
834- & [ CoreInternalFlags :: UpsertSearchAttributeOnPatch as u32 ] ,
835- & [ ] ,
836- ) ;
827+ t. set_flags_first_wft ( & [ CoreInternalFlags :: UpsertSearchAttributeOnPatch ] , & [ ] ) ;
837828 for i in 1 ..=num_patches {
838829 let id = format ! ( "patch-{i}" ) ;
839830 t. add_has_change_marker ( & id, false ) ;
0 commit comments