Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapchat location data gawen #53

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update snapchat_areas_visited_history.rs
GawenMonnot authored Jun 11, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c994ddbd0c55e745f97be4d68a3fe8c67acc9082
8 changes: 4 additions & 4 deletions src/activities/snapchat/snapchat_areas_visited_history.rs
Original file line number Diff line number Diff line change
@@ -57,16 +57,16 @@ mod tests {
#[test]
fn test_snapchat_areas_visited_history() -> Result<(), Box<dyn std::error::Error>> {
let conn = Connection::open("ichnion.db")?;
let SmallerTest = SmallerStructure {
let smaller_test = SmallerStructure {
Time: "2021/02/12 11:51:31 UTC".to_string(),
City: "Paris".to_string(),
Region: "Ile - De - France".to_string(),
Postal: "75000".to_string(),
};
let GeneralTest = GeneralStructure {
areas: vec![SmallerTest],
let general_test = GeneralStructure {
areas: vec![smaller_test],
};
let result = GeneralStructure::saveToDb(&GeneralTest, &conn);
let result = GeneralStructure::saveToDb(&general_test, &conn);

assert_eq!(result, Ok(()));