You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+20-20Lines changed: 20 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -425,7 +425,7 @@ mod tests {
425
425
assert_eq!(result.status,200);
426
426
assert_eq!(result.responseCode,"SUCC");
427
427
428
-
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/enrollmentA1.wav",&pwd).as_str()){
428
+
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/enrollmentA1.wav",&pwd).as_str()){
429
429
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
430
430
Err(err) => {
431
431
panic!("Panic error: {:?}", err);
@@ -435,7 +435,7 @@ mod tests {
435
435
assert_eq!(result.status,201);
436
436
assert_eq!(result.responseCode,"SUCC");
437
437
438
-
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/enrollmentA2.wav",&pwd).as_str()){
438
+
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/enrollmentA2.wav",&pwd).as_str()){
439
439
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
440
440
Err(err) => {
441
441
panic!("Panic error: {:?}", err);
@@ -445,7 +445,7 @@ mod tests {
445
445
assert_eq!(result.status,201);
446
446
assert_eq!(result.responseCode,"SUCC");
447
447
448
-
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/enrollmentA3.wav",&pwd).as_str()){
448
+
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/enrollmentA3.wav",&pwd).as_str()){
449
449
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
450
450
Err(err) => {
451
451
panic!("Panic error: {:?}", err);
@@ -455,7 +455,7 @@ mod tests {
455
455
assert_eq!(result.status,201);
456
456
assert_eq!(result.responseCode,"SUCC");
457
457
458
-
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment_by_url(&user_id2,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentC1.wav"){
458
+
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment_by_url(&user_id2,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentC1.wav"){
459
459
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
460
460
Err(err) => {
461
461
panic!("Panic error: {:?}", err);
@@ -465,7 +465,7 @@ mod tests {
465
465
assert_eq!(result.status,201);
466
466
assert_eq!(result.responseCode,"SUCC");
467
467
468
-
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment_by_url(&user_id2,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentC2.wav"){
468
+
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment_by_url(&user_id2,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentC2.wav"){
469
469
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
470
470
Err(err) => {
471
471
panic!("Panic error: {:?}", err);
@@ -475,7 +475,7 @@ mod tests {
475
475
assert_eq!(result.status,201);
476
476
assert_eq!(result.responseCode,"SUCC");
477
477
478
-
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment_by_url(&user_id2,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentC3.wav"){
478
+
let result:crate::structs::enrollments::CreateVoiceEnrollmentReturn = match&x.create_voice_enrollment_by_url(&user_id2,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentC3.wav"){
479
479
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
480
480
Err(err) => {
481
481
panic!("Panic error: {:?}", err);
@@ -495,7 +495,7 @@ mod tests {
495
495
assert_eq!(result.status,200);
496
496
assert_eq!(result.responseCode,"SUCC");
497
497
498
-
let result:crate::structs::verification::VoiceVerificationReturn = match&x.voice_verification(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/verificationA1.wav",&pwd).as_str()){
498
+
let result:crate::structs::verification::VoiceVerificationReturn = match&x.voice_verification(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/verificationA1.wav",&pwd).as_str()){
499
499
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
500
500
Err(err) => {
501
501
panic!("Panic error: {:?}", err);
@@ -505,7 +505,7 @@ mod tests {
505
505
assert_eq!(result.status,200);
506
506
assert_eq!(result.responseCode,"SUCC");
507
507
508
-
let result:crate::structs::verification::VoiceVerificationReturn = match&x.voice_verification_by_url(&user_id1,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentA4.wav"){
508
+
let result:crate::structs::verification::VoiceVerificationReturn = match&x.voice_verification_by_url(&user_id1,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentA4.wav"){
509
509
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
510
510
Err(err) => {
511
511
panic!("Panic error: {:?}", err);
@@ -515,7 +515,7 @@ mod tests {
515
515
assert_eq!(result.status,200);
516
516
assert_eq!(result.responseCode,"SUCC");
517
517
518
-
let result:crate::structs::identification::VoiceIdentificationReturn = match&x.voice_identification(&group_id,"en-US","never forget tomorrow is a new day",format!("{}/verificationA1.wav",&pwd).as_str()){
518
+
let result:crate::structs::identification::VoiceIdentificationReturn = match&x.voice_identification(&group_id,"en-US","Never forget tomorrow is a new day",format!("{}/verificationA1.wav",&pwd).as_str()){
519
519
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
520
520
Err(err) => {
521
521
panic!("Panic error: {:?}", err);
@@ -526,7 +526,7 @@ mod tests {
526
526
assert_eq!(result.userId, user_id1);
527
527
assert_eq!(result.responseCode,"SUCC");
528
528
529
-
let result:crate::structs::identification::VoiceIdentificationReturn = match&x.voice_identification_by_url(&group_id,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentA4.wav"){
529
+
let result:crate::structs::identification::VoiceIdentificationReturn = match&x.voice_identification_by_url(&group_id,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/enrollmentA4.wav"){
530
530
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
531
531
Err(err) => {
532
532
panic!("Panic error: {:?}", err);
@@ -847,7 +847,7 @@ mod tests {
847
847
assert_eq!(result.status,200);
848
848
assert_eq!(result.responseCode,"SUCC");
849
849
850
-
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/videoEnrollmentB1.mov",&pwd).as_str()){
850
+
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/videoEnrollmentB1.mov",&pwd).as_str()){
851
851
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
852
852
Err(err) => {
853
853
panic!("Panic error: {:?}", err);
@@ -857,7 +857,7 @@ mod tests {
857
857
assert_eq!(result.status,201);
858
858
assert_eq!(result.responseCode,"SUCC");
859
859
860
-
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/videoEnrollmentB2.mov",&pwd).as_str()){
860
+
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/videoEnrollmentB2.mov",&pwd).as_str()){
861
861
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
862
862
Err(err) => {
863
863
panic!("Panic error: {:?}", err);
@@ -867,7 +867,7 @@ mod tests {
867
867
assert_eq!(result.status,201);
868
868
assert_eq!(result.responseCode,"SUCC");
869
869
870
-
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/videoEnrollmentB3.mov",&pwd).as_str()){
870
+
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/videoEnrollmentB3.mov",&pwd).as_str()){
871
871
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
872
872
Err(err) => {
873
873
panic!("Panic error: {:?}", err);
@@ -877,7 +877,7 @@ mod tests {
877
877
assert_eq!(result.status,201);
878
878
assert_eq!(result.responseCode,"SUCC");
879
879
880
-
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment_by_url(&user_id2,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/videoEnrollmentC1.mov"){
880
+
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment_by_url(&user_id2,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/videoEnrollmentC1.mov"){
881
881
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
882
882
Err(err) => {
883
883
panic!("Panic error: {:?}", err);
@@ -887,7 +887,7 @@ mod tests {
887
887
assert_eq!(result.status,201);
888
888
assert_eq!(result.responseCode,"SUCC");
889
889
890
-
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment_by_url(&user_id2,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/videoEnrollmentC2.mov"){
890
+
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment_by_url(&user_id2,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/videoEnrollmentC2.mov"){
891
891
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
892
892
Err(err) => {
893
893
panic!("Panic error: {:?}", err);
@@ -897,7 +897,7 @@ mod tests {
897
897
assert_eq!(result.status,201);
898
898
assert_eq!(result.responseCode,"SUCC");
899
899
900
-
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment_by_url(&user_id2,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/videoEnrollmentC3.mov"){
900
+
let result:crate::structs::enrollments::CreateVideoEnrollmentReturn = match&x.create_video_enrollment_by_url(&user_id2,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/videoEnrollmentC3.mov"){
901
901
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
902
902
Err(err) => {
903
903
panic!("Panic error: {:?}", err);
@@ -917,7 +917,7 @@ mod tests {
917
917
assert_eq!(result.status,200);
918
918
assert_eq!(result.responseCode,"SUCC");
919
919
920
-
let result:crate::structs::verification::VideoVerificationReturn = match&x.video_verification(&user_id1,"en-US","never forget tomorrow is a new day",format!("{}/videoVerificationB1.mov",&pwd).as_str()){
920
+
let result:crate::structs::verification::VideoVerificationReturn = match&x.video_verification(&user_id1,"en-US","Never forget tomorrow is a new day",format!("{}/videoVerificationB1.mov",&pwd).as_str()){
921
921
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
922
922
Err(err) => {
923
923
panic!("Panic error: {:?}", err);
@@ -927,7 +927,7 @@ mod tests {
927
927
assert_eq!(result.status,200);
928
928
assert_eq!(result.responseCode,"SUCC");
929
929
930
-
let result:crate::structs::verification::VideoVerificationReturn = match&x.video_verification_by_url(&user_id1,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/videoVerificationB1.mov"){
930
+
let result:crate::structs::verification::VideoVerificationReturn = match&x.video_verification_by_url(&user_id1,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/videoVerificationB1.mov"){
931
931
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
932
932
Err(err) => {
933
933
panic!("Panic error: {:?}", err);
@@ -937,7 +937,7 @@ mod tests {
937
937
assert_eq!(result.status,200);
938
938
assert_eq!(result.responseCode,"SUCC");
939
939
940
-
let result:crate::structs::identification::VideoIdentificationReturn = match&x.video_identification(&group_id,"en-US","never forget tomorrow is a new day",format!("{}/videoVerificationB1.mov",&pwd).as_str()){
940
+
let result:crate::structs::identification::VideoIdentificationReturn = match&x.video_identification(&group_id,"en-US","Never forget tomorrow is a new day",format!("{}/videoVerificationB1.mov",&pwd).as_str()){
941
941
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
942
942
Err(err) => {
943
943
panic!("Panic error: {:?}", err);
@@ -948,7 +948,7 @@ mod tests {
948
948
assert_eq!(result.userId, user_id1);
949
949
assert_eq!(result.responseCode,"SUCC");
950
950
951
-
let result:crate::structs::identification::VideoIdentificationReturn = match&x.video_identification_by_url(&group_id,"en-US","never forget tomorrow is a new day","https://drive.voiceit.io/files/videoVerificationB1.mov"){
951
+
let result:crate::structs::identification::VideoIdentificationReturn = match&x.video_identification_by_url(&group_id,"en-US","Never forget tomorrow is a new day","https://drive.voiceit.io/files/videoVerificationB1.mov"){
952
952
Ok(x) => serde_json::from_str(&x).expect(format!("Unable to unmarshal JSON properly due to call failing and returning with missing values. server response: {}",&x).as_str()),
0 commit comments