TF-1810 Add StoreDetailedEmailToCacheInteractor to store detailed email to cache
(cherry picked from commit 60a91537f7ea1225b5ca67f6dd9ef358b33939da)
This commit is contained in:
@@ -16,7 +16,7 @@ void main() {
|
||||
|
||||
test('Store private HTLM String to File', () async {
|
||||
|
||||
final file = await FileUtils().saveToFile(fileName, fileContent);
|
||||
final file = await FileUtils().saveToFile(nameFile: fileName, content: fileContent);
|
||||
|
||||
expect(await file.exists(), equals(true));
|
||||
|
||||
@@ -28,9 +28,9 @@ void main() {
|
||||
test('Get HTML String from File Private', () async {
|
||||
|
||||
/// Create a temporary file that will be deleted after `getFromFile` is done
|
||||
final file = await FileUtils().saveToFile(fileName, fileContent);
|
||||
final file = await FileUtils().saveToFile(nameFile: fileName, content: fileContent);
|
||||
|
||||
final htmlString = await FileUtils().getFromFile(fileName);
|
||||
final htmlString = await FileUtils().getFromFile(nameFile: fileName);
|
||||
|
||||
expect(htmlString.isNotEmpty, equals(true));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user