Skip to content

Commit

Permalink
PR FIXUP - Fix lens tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Oct 2, 2023
1 parent ffbef07 commit 11f735c
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 43 deletions.
4 changes: 2 additions & 2 deletions tests/integration/cli/client_schema_migration_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func TestSchemaMigrationSet_GivenCfgWithLenses_ShouldSucceedAndMigrateDoc(t *tes
stdout, _ = runDefraCommand(t, conf, []string{
"client", "schema", "migration", "set",
"bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
"bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
"bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
fmt.Sprintf(`{"lenses": [{"path":"%s","arguments":{"dst":"verified","value":true}}]}`, lenses.SetDefaultModulePath),
})
assertContainsSubstring(t, stdout, "success")
Expand Down Expand Up @@ -230,7 +230,7 @@ func TestSchemaMigrationSet_GivenCfgWithLenseError_ShouldError(t *testing.T) {
stdout, _ = runDefraCommand(t, conf, []string{
"client", "schema", "migration", "set",
"bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
"bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
"bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
// Do not set lens parameters in order to generate error
fmt.Sprintf(`{"lenses": [{"path":"%s"}]}`, lenses.SetDefaultModulePath),
})
Expand Down
40 changes: 20 additions & 20 deletions tests/integration/schema/migrations/query/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestSchemaMigrationQuery(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -116,7 +116,7 @@ func TestSchemaMigrationQueryMultipleDocs(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -179,7 +179,7 @@ func TestSchemaMigrationQueryWithMigrationRegisteredBeforeSchemaPatch(t *testing
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -255,7 +255,7 @@ func TestSchemaMigrationQueryMigratesToIntermediaryVersion(t *testing.T) {
// there should be no migration from version 2 to version 3.
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -325,8 +325,8 @@ func TestSchemaMigrationQueryMigratesFromIntermediaryVersion(t *testing.T) {
// Register a migration from schema version 2 to schema version 3 **only** -
// there should be no migration from version 1 to version 2.
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreiadb2rps7a2zykywfxwfpgkvet5vmzaig4nvzl5sgfqquzr3qrvsq",
SourceSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
DestinationSchemaVersionID: "bafkreigmkj5aa7qnqgszkzf5r5buqwmowtqu7m34ym5ycsozp7nh73aiwe",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -395,7 +395,7 @@ func TestSchemaMigrationQueryMigratesAcrossMultipleVersions(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand All @@ -411,8 +411,8 @@ func TestSchemaMigrationQueryMigratesAcrossMultipleVersions(t *testing.T) {
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreiadb2rps7a2zykywfxwfpgkvet5vmzaig4nvzl5sgfqquzr3qrvsq",
SourceSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
DestinationSchemaVersionID: "bafkreigmkj5aa7qnqgszkzf5r5buqwmowtqu7m34ym5ycsozp7nh73aiwe",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -540,7 +540,7 @@ func TestSchemaMigrationQueryMigrationMutatesExistingScalarField(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -600,8 +600,8 @@ func TestSchemaMigrationQueryMigrationMutatesExistingInlineArrayField(t *testing
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreic427cayffkscmp2ng224wpmsryzwz5aec6dhbfr2xoljb4xbugji",
DestinationSchemaVersionID: "bafkreidrmuahiz4qenylm247udlro732ip3adwv3dqpeds3s2kghwtfvt4",
SourceSchemaVersionID: "bafkreiegav3vo2lwbwivu63u7bdxkdutb6qemnl4uxipqq6nzeqyikbr2i",
DestinationSchemaVersionID: "bafkreig4mjggx4hqxxeqih3r6l3jrjuifxa3rcquio3hzfs6x635gakle4",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -663,8 +663,8 @@ func TestSchemaMigrationQueryMigrationRemovesExistingField(t *testing.T) {
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreidovoxkxttybaew2qraoelormm63ilutzms7wlwmcr3xru44hfnta",
DestinationSchemaVersionID: "bafkreia4bbxhtqwzw4smby5xsqxv6ptoc6ijc6v3lmnlv66twpfak5gxxq",
SourceSchemaVersionID: "bafkreig2pfhv2b7htpvshcqftuj4yrfu5ptxulr6ul6pjcaweyz43yz5ay",
DestinationSchemaVersionID: "bafkreiat3mfdsoknsavvw3wbir4atbaswqbnnitn3ysswqih2g4zwbn62a",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -724,8 +724,8 @@ func TestSchemaMigrationQueryMigrationPreservesExistingFieldWhenFieldNotRequeste
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreidovoxkxttybaew2qraoelormm63ilutzms7wlwmcr3xru44hfnta",
DestinationSchemaVersionID: "bafkreia4bbxhtqwzw4smby5xsqxv6ptoc6ijc6v3lmnlv66twpfak5gxxq",
SourceSchemaVersionID: "bafkreig2pfhv2b7htpvshcqftuj4yrfu5ptxulr6ul6pjcaweyz43yz5ay",
DestinationSchemaVersionID: "bafkreiat3mfdsoknsavvw3wbir4atbaswqbnnitn3ysswqih2g4zwbn62a",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -798,8 +798,8 @@ func TestSchemaMigrationQueryMigrationCopiesExistingFieldWhenSrcFieldNotRequeste
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreidovoxkxttybaew2qraoelormm63ilutzms7wlwmcr3xru44hfnta",
DestinationSchemaVersionID: "bafkreia4bbxhtqwzw4smby5xsqxv6ptoc6ijc6v3lmnlv66twpfak5gxxq",
SourceSchemaVersionID: "bafkreig2pfhv2b7htpvshcqftuj4yrfu5ptxulr6ul6pjcaweyz43yz5ay",
DestinationSchemaVersionID: "bafkreiat3mfdsoknsavvw3wbir4atbaswqbnnitn3ysswqih2g4zwbn62a",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -860,8 +860,8 @@ func TestSchemaMigrationQueryMigrationCopiesExistingFieldWhenSrcAndDstFieldNotRe
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreidovoxkxttybaew2qraoelormm63ilutzms7wlwmcr3xru44hfnta",
DestinationSchemaVersionID: "bafkreia4bbxhtqwzw4smby5xsqxv6ptoc6ijc6v3lmnlv66twpfak5gxxq",
SourceSchemaVersionID: "bafkreig2pfhv2b7htpvshcqftuj4yrfu5ptxulr6ul6pjcaweyz43yz5ay",
DestinationSchemaVersionID: "bafkreiat3mfdsoknsavvw3wbir4atbaswqbnnitn3ysswqih2g4zwbn62a",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/schema/migrations/query/with_dockey_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func TestSchemaMigrationQueryByDocKey(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -159,7 +159,7 @@ func TestSchemaMigrationQueryMultipleQueriesByDocKey(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
12 changes: 6 additions & 6 deletions tests/integration/schema/migrations/query/with_p2p_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ func TestSchemaMigrationQueryWithP2PReplicatedDocAtOlderSchemaVersion(t *testing
testUtils.ConfigureMigration{
// Register the migration on both nodes.
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreifmgqtwpvepenteuvj27u4ewix6nb7ypvyz6j555wsk5u2n7hrldm",
DestinationSchemaVersionID: "bafkreigfqdqnj5dunwgcsf2a6ht6q6m2yv3ys6byw5ifsmi5lfcpeh5t7e",
SourceSchemaVersionID: "bafkreicpuajqg5f4i3vkrdn5jhhcqbkxd5g4aaypkxbo52hfx53vuhjbhm",
DestinationSchemaVersionID: "bafkreig22ggpbxpf42hderhl36hb46ypovlljtkpgospl7dyaon4rdnida",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -136,8 +136,8 @@ func TestSchemaMigrationQueryWithP2PReplicatedDocAtNewerSchemaVersion(t *testing
testUtils.ConfigureMigration{
// Register the migration on both nodes.
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreifmgqtwpvepenteuvj27u4ewix6nb7ypvyz6j555wsk5u2n7hrldm",
DestinationSchemaVersionID: "bafkreigfqdqnj5dunwgcsf2a6ht6q6m2yv3ys6byw5ifsmi5lfcpeh5t7e",
SourceSchemaVersionID: "bafkreicpuajqg5f4i3vkrdn5jhhcqbkxd5g4aaypkxbo52hfx53vuhjbhm",
DestinationSchemaVersionID: "bafkreig22ggpbxpf42hderhl36hb46ypovlljtkpgospl7dyaon4rdnida",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -238,8 +238,8 @@ func TestSchemaMigrationQueryWithP2PReplicatedDocAtMuchNewerSchemaVersionWithSch
// Register a migration from version 2 to version 3 on both nodes.
// There is no migration from version 1 to 2, thus node 1 has no knowledge of schema version 2.
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreiadb2rps7a2zykywfxwfpgkvet5vmzaig4nvzl5sgfqquzr3qrvsq",
SourceSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
DestinationSchemaVersionID: "bafkreigmkj5aa7qnqgszkzf5r5buqwmowtqu7m34ym5ycsozp7nh73aiwe",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestSchemaMigrationQueryWithRestart(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

func TestSchemaMigrationQuery_WithSetDefaultToLatest_AppliesForwardMigration(t *testing.T) {
schemaVersionID2 := "bafkreigfqdqnj5dunwgcsf2a6ht6q6m2yv3ys6byw5ifsmi5lfcpeh5t7e"
schemaVersionID2 := "bafkreig22ggpbxpf42hderhl36hb46ypovlljtkpgospl7dyaon4rdnida"

test := testUtils.TestCase{
Description: "Test schema migration",
Expand Down Expand Up @@ -50,7 +50,7 @@ func TestSchemaMigrationQuery_WithSetDefaultToLatest_AppliesForwardMigration(t *
},
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreifmgqtwpvepenteuvj27u4ewix6nb7ypvyz6j555wsk5u2n7hrldm",
SourceSchemaVersionID: "bafkreicpuajqg5f4i3vkrdn5jhhcqbkxd5g4aaypkxbo52hfx53vuhjbhm",
DestinationSchemaVersionID: schemaVersionID2,
Lens: model.Lens{
Lenses: []model.LensModule{
Expand Down Expand Up @@ -89,8 +89,8 @@ func TestSchemaMigrationQuery_WithSetDefaultToLatest_AppliesForwardMigration(t *
}

func TestSchemaMigrationQuery_WithSetDefaultToOriginal_AppliesInverseMigration(t *testing.T) {
schemaVersionID1 := "bafkreifmgqtwpvepenteuvj27u4ewix6nb7ypvyz6j555wsk5u2n7hrldm"
schemaVersionID2 := "bafkreigfqdqnj5dunwgcsf2a6ht6q6m2yv3ys6byw5ifsmi5lfcpeh5t7e"
schemaVersionID1 := "bafkreicpuajqg5f4i3vkrdn5jhhcqbkxd5g4aaypkxbo52hfx53vuhjbhm"
schemaVersionID2 := "bafkreig22ggpbxpf42hderhl36hb46ypovlljtkpgospl7dyaon4rdnida"

test := testUtils.TestCase{
Description: "Test schema migration",
Expand Down Expand Up @@ -164,8 +164,8 @@ func TestSchemaMigrationQuery_WithSetDefaultToOriginal_AppliesInverseMigration(t
}

func TestSchemaMigrationQuery_WithSetDefaultToOriginalVersionThatDocWasCreatedAt_ClearsMigrations(t *testing.T) {
schemaVersionID1 := "bafkreifmgqtwpvepenteuvj27u4ewix6nb7ypvyz6j555wsk5u2n7hrldm"
schemaVersionID2 := "bafkreigfqdqnj5dunwgcsf2a6ht6q6m2yv3ys6byw5ifsmi5lfcpeh5t7e"
schemaVersionID1 := "bafkreicpuajqg5f4i3vkrdn5jhhcqbkxd5g4aaypkxbo52hfx53vuhjbhm"
schemaVersionID2 := "bafkreig22ggpbxpf42hderhl36hb46ypovlljtkpgospl7dyaon4rdnida"

test := testUtils.TestCase{
Description: "Test schema migration",
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/schema/migrations/query/with_txn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestSchemaMigrationQueryWithTxn(t *testing.T) {
TransactionID: immutable.Some(0),
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -110,7 +110,7 @@ func TestSchemaMigrationQueryWithTxnAndCommit(t *testing.T) {
TransactionID: immutable.Some(0),
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/schema/migrations/query/with_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func TestSchemaMigrationQueryWithUpdateRequest(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -130,7 +130,7 @@ func TestSchemaMigrationQueryWithMigrationRegisteredAfterUpdate(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/schema/migrations/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func TestSchemaMigrationGetMigrationsReturnsMultiple(t *testing.T) {
testUtils.ConfigureMigration{
LensConfig: client.LensConfig{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down Expand Up @@ -125,7 +125,7 @@ func TestSchemaMigrationGetMigrationsReturnsMultiple(t *testing.T) {
},
{
SourceSchemaVersionID: "bafkreibqw2l325up2tljc5oyjpjzftg4x7nhluzqoezrmz645jto6tnylu",
DestinationSchemaVersionID: "bafkreia56p6i6o3l4jijayiqd5eiijsypjjokbldaxnmqgeav6fe576hcy",
DestinationSchemaVersionID: "bafkreihcyy243ed46jxlpwyryo3cfcvxcbnilpj63gy7smf4fqzyzxadze",
Lens: model.Lens{
Lenses: []model.LensModule{
{
Expand Down

0 comments on commit 11f735c

Please sign in to comment.