Skip to content

Commit 5793440

Browse files
auto commit
1 parent c519da6 commit 5793440

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Examples/runtimes/net/src/migration/PlaintextToAWSDBE/awsdbe/MigrationStep3Test.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ public async Task TestMigrationStep3()
3232
// Given: Step 2 has succeeded
3333
success = await MigrationStep2.MigrationStep2Example(kmsKeyID, tableName, partitionKey, sortKeys[2], sortKeys[2]);
3434
Assert.True(success, "MigrationStep2 should complete successfully");
35-
35+
3636
// Successfully executes step 3
3737
success = await MigrationStep3.MigrationStep3Example(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[3]);
3838
Assert.True(success, "MigrationStep3 should complete successfully");
39-
39+
4040
// When: Execute Step 3 with sortReadValue=0, Then: should error out when reading plaintext items from Step 0
41-
var exception = await Assert.ThrowsAsync<DynamoDbItemEncryptorException>(() =>
41+
var exception = await Assert.ThrowsAsync<DynamoDbItemEncryptorException>(() =>
4242
MigrationStep3.MigrationStep3Example(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[0]));
43-
43+
4444
Assert.Contains("encrypted item missing expected header and footer attributes", exception.Message.ToLower());
4545

4646
// When: Execute Step 3 with sortReadValue=1, Then: should error out when reading plaintext items from Step 1
47-
exception = await Assert.ThrowsAsync<DynamoDbItemEncryptorException>(() =>
47+
exception = await Assert.ThrowsAsync<DynamoDbItemEncryptorException>(() =>
4848
MigrationStep3.MigrationStep3Example(kmsKeyID, tableName, partitionKey, sortKeys[3], sortKeys[1]));
4949
Assert.Contains("encrypted item missing expected header and footer attributes", exception.Message.ToLower());
5050

0 commit comments

Comments
 (0)