Skip to content

Commit

Permalink
refactor: final changes in naming and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Sommerfeld committed Oct 24, 2024
1 parent 9489b04 commit d6235f4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/models/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mod tests {
// Read the JSON contents of the file as an instance of `User`.
let vobj: BearerResponse =
read_json_from_file("test/test_auth_bearer_response.json").unwrap();
assert_eq!(vobj.access_token, "das.ist.ein.token");
assert_eq!(vobj.access_token, "ths.is.a.token");
}
#[test]
fn deserialize_jwt_claims() {
Expand Down
2 changes: 1 addition & 1 deletion src/models/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mod tests {
}

#[test]
fn dedeserialize_domain_response() {
fn deserialize_domain_response() {
// Read the JSON contents of the file as an instance of `User`.
let vobj: DomainResponse = read_user_from_file("test/test_domain_response.json").unwrap();
assert_eq!(vobj.domain_list.list.len(), 20);
Expand Down
2 changes: 1 addition & 1 deletion test/test_auth_bearer_response.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"access_token": "das.ist.ein.token",
"access_token": "ths.is.a.token",
"token_type": "bearer",
"expires_in": 14
}

0 comments on commit d6235f4

Please sign in to comment.