Modified put to put all dirty or marked items

This commit is contained in:
Leon Mika 2022-07-16 11:35:53 +10:00
parent 9fee17a6a6
commit 2dbd664dd2
13 changed files with 329 additions and 167 deletions

View file

@ -18,7 +18,7 @@ type TestData struct {
Data []map[string]interface{}
}
func SetupTestTable(t *testing.T, testData []TestData) (*dynamodb.Client, func()) {
func SetupTestTable(t *testing.T, testData []TestData) *dynamodb.Client {
t.Helper()
ctx := context.Background()
@ -68,5 +68,5 @@ func SetupTestTable(t *testing.T, testData []TestData) (*dynamodb.Client, func()
}
})
return dynamoClient, func() {}
return dynamoClient
}