Skip to content

Commit b016c2b

Browse files
Shaharyar Muzaffarfacebook-github-bot
Shaharyar Muzaffar
authored andcommitted
Remove PZ2CodeAnnotation From Tests
Summary: Updates `MockPZ2` to take in `PZ2SimpleAnnotations` instead of `PZ2CodeAnnotation` and updates `PZ2PrimaryAnnotationTest` to provide `PZ2SimpleAnnotations` instead of `PZ2CodeAnnotation`. Differential Revision: D71157740 fbshipit-source-id: c5354a671523890a9f043e381a528ca1e878560d
1 parent 59308d3 commit b016c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third-party/thrift/src/thrift/lib/hack/src/contextprop/__tests__/UpdateUniverseContextHandlerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ classname<IThriftClient> $thrift_service_name,
204204

205205
private async function genInitPZ2(): Awaitable<void> {
206206
await MockPZ2::genInitRequest(
207-
PZ2CodeAnnotation::get()->withPolicy(
207+
PZ2AnnotationSimpleConcrete::get(
208208
PZXSUPolicy::create(PZXSUPolicyState::FACEBOOK),
209209
),
210210
);

0 commit comments

Comments
 (0)