Skip to content

Commit ea6dfbf

Browse files
committed
Capitalize VPP phrase: Never forget tomorrow is a new day
1 parent 6febaf1 commit ea6dfbf

2 files changed

Lines changed: 21 additions & 21 deletions

File tree

examples/test_example.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn main() {
55
let ak = env::var("VOICEIT_API_KEY").expect("Set VOICEIT_API_KEY");
66
let at = env::var("VOICEIT_API_TOKEN").expect("Set VOICEIT_API_TOKEN");
77
let vi = VoiceIt3::new(ak, at);
8-
let phrase = "never forget tomorrow is a new day";
8+
let phrase = "Never forget tomorrow is a new day";
99
let td = "test-data";
1010

1111
let r = vi.create_user().unwrap();

src/lib.rs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ mod tests {
425425
assert_eq!(result.status, 200);
426426
assert_eq!(result.responseCode, "SUCC");
427427

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()) {
429429
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()),
430430
Err(err) => {
431431
panic!("Panic error: {:?}", err);
@@ -435,7 +435,7 @@ mod tests {
435435
assert_eq!(result.status, 201);
436436
assert_eq!(result.responseCode, "SUCC");
437437

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()) {
439439
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()),
440440
Err(err) => {
441441
panic!("Panic error: {:?}", err);
@@ -445,7 +445,7 @@ mod tests {
445445
assert_eq!(result.status, 201);
446446
assert_eq!(result.responseCode, "SUCC");
447447

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()) {
449449
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()),
450450
Err(err) => {
451451
panic!("Panic error: {:?}", err);
@@ -455,7 +455,7 @@ mod tests {
455455
assert_eq!(result.status, 201);
456456
assert_eq!(result.responseCode, "SUCC");
457457

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") {
459459
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()),
460460
Err(err) => {
461461
panic!("Panic error: {:?}", err);
@@ -465,7 +465,7 @@ mod tests {
465465
assert_eq!(result.status, 201);
466466
assert_eq!(result.responseCode, "SUCC");
467467

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") {
469469
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()),
470470
Err(err) => {
471471
panic!("Panic error: {:?}", err);
@@ -475,7 +475,7 @@ mod tests {
475475
assert_eq!(result.status, 201);
476476
assert_eq!(result.responseCode, "SUCC");
477477

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") {
479479
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()),
480480
Err(err) => {
481481
panic!("Panic error: {:?}", err);
@@ -495,7 +495,7 @@ mod tests {
495495
assert_eq!(result.status, 200);
496496
assert_eq!(result.responseCode, "SUCC");
497497

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()) {
499499
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()),
500500
Err(err) => {
501501
panic!("Panic error: {:?}", err);
@@ -505,7 +505,7 @@ mod tests {
505505
assert_eq!(result.status, 200);
506506
assert_eq!(result.responseCode, "SUCC");
507507

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") {
509509
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()),
510510
Err(err) => {
511511
panic!("Panic error: {:?}", err);
@@ -515,7 +515,7 @@ mod tests {
515515
assert_eq!(result.status, 200);
516516
assert_eq!(result.responseCode, "SUCC");
517517

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()) {
519519
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()),
520520
Err(err) => {
521521
panic!("Panic error: {:?}", err);
@@ -526,7 +526,7 @@ mod tests {
526526
assert_eq!(result.userId, user_id1);
527527
assert_eq!(result.responseCode, "SUCC");
528528

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") {
530530
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()),
531531
Err(err) => {
532532
panic!("Panic error: {:?}", err);
@@ -847,7 +847,7 @@ mod tests {
847847
assert_eq!(result.status, 200);
848848
assert_eq!(result.responseCode, "SUCC");
849849

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()) {
851851
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()),
852852
Err(err) => {
853853
panic!("Panic error: {:?}", err);
@@ -857,7 +857,7 @@ mod tests {
857857
assert_eq!(result.status, 201);
858858
assert_eq!(result.responseCode, "SUCC");
859859

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()) {
861861
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()),
862862
Err(err) => {
863863
panic!("Panic error: {:?}", err);
@@ -867,7 +867,7 @@ mod tests {
867867
assert_eq!(result.status, 201);
868868
assert_eq!(result.responseCode, "SUCC");
869869

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()) {
871871
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()),
872872
Err(err) => {
873873
panic!("Panic error: {:?}", err);
@@ -877,7 +877,7 @@ mod tests {
877877
assert_eq!(result.status, 201);
878878
assert_eq!(result.responseCode, "SUCC");
879879

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") {
881881
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()),
882882
Err(err) => {
883883
panic!("Panic error: {:?}", err);
@@ -887,7 +887,7 @@ mod tests {
887887
assert_eq!(result.status, 201);
888888
assert_eq!(result.responseCode, "SUCC");
889889

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") {
891891
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()),
892892
Err(err) => {
893893
panic!("Panic error: {:?}", err);
@@ -897,7 +897,7 @@ mod tests {
897897
assert_eq!(result.status, 201);
898898
assert_eq!(result.responseCode, "SUCC");
899899

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") {
901901
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()),
902902
Err(err) => {
903903
panic!("Panic error: {:?}", err);
@@ -917,7 +917,7 @@ mod tests {
917917
assert_eq!(result.status, 200);
918918
assert_eq!(result.responseCode, "SUCC");
919919

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()) {
921921
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()),
922922
Err(err) => {
923923
panic!("Panic error: {:?}", err);
@@ -927,7 +927,7 @@ mod tests {
927927
assert_eq!(result.status, 200);
928928
assert_eq!(result.responseCode, "SUCC");
929929

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") {
931931
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()),
932932
Err(err) => {
933933
panic!("Panic error: {:?}", err);
@@ -937,7 +937,7 @@ mod tests {
937937
assert_eq!(result.status, 200);
938938
assert_eq!(result.responseCode, "SUCC");
939939

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()) {
941941
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()),
942942
Err(err) => {
943943
panic!("Panic error: {:?}", err);
@@ -948,7 +948,7 @@ mod tests {
948948
assert_eq!(result.userId, user_id1);
949949
assert_eq!(result.responseCode, "SUCC");
950950

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") {
952952
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()),
953953
Err(err) => {
954954
panic!("Panic error: {:?}", err);

0 commit comments

Comments
 (0)