[ion] Use dedicated method in test/storage

This commit is contained in:
Léa Saviot
2018-09-27 18:38:43 +02:00
committed by Émilie Feral
parent 1fe6881171
commit 852a278285

View File

@@ -56,7 +56,7 @@ QUIZ_CASE(ion_storage_put_record_twice) {
quiz_assert(error == Storage::Record::ErrorStatus::None);
// Put the same record again: an error should be issued
error = Storage::sharedStorage()->createRecordWithExtension(baseNameRecord, extensionRecord, dataRecord, strlen(dataRecord));
error = putRecordInSharedStorage(baseNameRecord, extensionRecord, dataRecord);
quiz_assert(error == Storage::Record::ErrorStatus::NameTaken);
// Retreive the record