diff --git a/tdjson/encoder_test.go b/tdjson/encoder_test.go index c09b0d3e40..e43ccd60d9 100644 --- a/tdjson/encoder_test.go +++ b/tdjson/encoder_test.go @@ -41,21 +41,19 @@ func TestEncodeDecode(t *testing.T) { types := []obj{ &tdapi.SetTdlibParametersRequest{ - UseTestDC: true, - DatabaseDirectory: "database", - FilesDirectory: "files", - UseFileDatabase: true, - UseChatInfoDatabase: true, - UseMessageDatabase: true, - UseSecretChats: true, - APIID: 10, - APIHash: "russcox", - SystemLanguageCode: "ru", - DeviceModel: "gotd", - SystemVersion: "10", - ApplicationVersion: "10", - EnableStorageOptimizer: true, - IgnoreFileNames: true, + UseTestDC: true, + DatabaseDirectory: "database", + FilesDirectory: "files", + UseFileDatabase: true, + UseChatInfoDatabase: true, + UseMessageDatabase: true, + UseSecretChats: true, + APIID: 10, + APIHash: "russcox", + SystemLanguageCode: "ru", + DeviceModel: "gotd", + SystemVersion: "10", + ApplicationVersion: "10", }, &tdapi.ProfilePhoto{ ID: 1,