Index: tests/html/indexeddb_1_test.dart |
diff --git a/tests/html/indexeddb_1_test.dart b/tests/html/indexeddb_1_test.dart |
index c57f8d11838cd3e83e4f8fee5e05ef91fe17825c..91a1accaec0e0764340a8370a5bffba36cbbd020 100644 |
--- a/tests/html/indexeddb_1_test.dart |
+++ b/tests/html/indexeddb_1_test.dart |
@@ -52,7 +52,7 @@ testReadWrite(key, value, matcher, |
onUpgradeNeeded: createObjectStore); |
}).then((result) { |
db = result; |
- var transaction = db.transactionList([storeName], 'readwrite'); |
+ var transaction = db.transaction([storeName], 'readwrite'); |
transaction.objectStore(storeName).put(value, key); |
return transaction.completed; |
}).then((_) { |
@@ -86,7 +86,7 @@ testReadWriteTyped(key, value, matcher, |
onUpgradeNeeded: createObjectStore); |
}).then((idb.Database result) { |
db = result; |
- idb.Transaction transaction = db.transactionList([storeName], 'readwrite'); |
+ idb.Transaction transaction = db.transaction([storeName], 'readwrite'); |
transaction.objectStore(storeName).put(value, key); |
return transaction.completed; |