Skip to content

Commit 3deee78

Browse files
committed
Fixed tests which request type
Signed-off-by: Darko Kulic <[email protected]>
1 parent 9490701 commit 3deee78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libindy/tests/utils/non_secrets.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,23 +230,23 @@ impl NonSecretsUtils {
230230
}
231231

232232
pub fn record_1() -> WalletRecord {
233-
WalletRecord { id: ID.to_string(), type_: None, value: Some(VALUE.to_string()), tags: Some(NonSecretsUtils::tags_1()) }
233+
WalletRecord { id: ID.to_string(), type_: Some(TYPE.to_string()), value: Some(VALUE.to_string()), tags: Some(NonSecretsUtils::tags_1()) }
234234
}
235235

236236
pub fn record_2() -> WalletRecord {
237-
WalletRecord { id: ID_2.to_string(), type_: None, value: Some(VALUE_2.to_string()), tags: Some(NonSecretsUtils::tags_2()) }
237+
WalletRecord { id: ID_2.to_string(), type_: Some(TYPE.to_string()), value: Some(VALUE_2.to_string()), tags: Some(NonSecretsUtils::tags_2()) }
238238
}
239239

240240
pub fn record_3() -> WalletRecord {
241-
WalletRecord { id: ID_3.to_string(), type_: None, value: Some(VALUE_3.to_string()), tags: Some(NonSecretsUtils::tags_3()) }
241+
WalletRecord { id: ID_3.to_string(), type_: Some(TYPE.to_string()), value: Some(VALUE_3.to_string()), tags: Some(NonSecretsUtils::tags_3()) }
242242
}
243243

244244
pub fn record_4() -> WalletRecord {
245-
WalletRecord { id: ID_4.to_string(), type_: None, value: Some(VALUE_4.to_string()), tags: Some(NonSecretsUtils::tags_4()) }
245+
WalletRecord { id: ID_4.to_string(), type_: Some(TYPE.to_string()), value: Some(VALUE_4.to_string()), tags: Some(NonSecretsUtils::tags_4()) }
246246
}
247247

248248
pub fn record_5() -> WalletRecord {
249-
WalletRecord { id: ID_5.to_string(), type_: None, value: Some(VALUE_5.to_string()), tags: Some(NonSecretsUtils::tags_5()) }
249+
WalletRecord { id: ID_5.to_string(), type_: Some(TYPE.to_string()), value: Some(VALUE_5.to_string()), tags: Some(NonSecretsUtils::tags_5()) }
250250
}
251251

252252
pub fn populate_wallet_for_search() {

0 commit comments

Comments
 (0)