Skip to content

Commit

Permalink
test(tdjson): fix after api update
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Jan 27, 2024
1 parent 03598d7 commit b8980c5
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions tdjson/encoder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b8980c5

Please sign in to comment.