Skip to content

Commit b239411

Browse files
committed
Renaming stuff
1 parent 730cc95 commit b239411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mockld/sdk_data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (b blockingUnavailableSDKData) Serialize() []byte { return nil }
7171
// We use this for both regular server-side SDKs and the PHP SDK.
7272
type ServerSDKData map[DataItemKind]map[string]json.RawMessage
7373

74-
func (s ServerSDKData) AsFDv2SDKData(t *ldtest.T) FDv2SDKData {
74+
func (s ServerSDKData) ConvertToFDv2SDKData(t *ldtest.T) FDv2SDKData {
7575
payloadObjects := make([]framework.BaseObject, 0)
7676

7777
for kind, items := range s {

sdktests/testapi_sdk_data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func NewSDKDataSourceWithoutEndpoint(t *ldtest.T, data mockld.SDKData, options .
8989
}
9090

9191
if d, ok := data.(mockld.ServerSDKData); ok {
92-
data = d.AsFDv2SDKData(t)
92+
data = d.ConvertToFDv2SDKData(t)
9393
}
9494

9595
defaultIsPolling := sdkKind == mockld.JSClientSDK || sdkKind == mockld.PHPSDK

0 commit comments

Comments
 (0)