Skip to content

Commit

Permalink
Replace email with fake user
Browse files Browse the repository at this point in the history
  • Loading branch information
dmoss18 committed Feb 5, 2024
1 parent 16a3ccb commit de3adbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/services/account-status-service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import extractResponseData from "../utils/response-util";
import TastytradeHttpClient from "./tastytrade-http-client";

// create the central class that aggregates all services from dmoss
// create the central class that aggregates all services
export default class AccountStatusService {
constructor(private httpClient: TastytradeHttpClient) {
}
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/service/session-service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('login', () => {
const responseData = {
"data": {
"user": {
"email": "devin.moss@tastytrade.com",
"email": "fake-user@tastytrade.com",
"external-id": "U8aacecd2-545f-4077-9d55-7ccd04cbbfea"
},
"session-token": expectedToken
Expand All @@ -33,7 +33,7 @@ describe('loginWithRememberToken', () => {
const responseData = {
"data": {
"user": {
"email": "devin.moss@tastytrade.com",
"email": "fake-user@tastytrade.com",
"external-id": "U8aacecd2-545f-4077-9d55-7ccd04cbbfea"
},
"remember-token": "AK-rKgllt-H-IBQ-kUa2cA8rt1j4a-nmc46AyVa6HrjPyF4oARrHPA",
Expand Down

0 comments on commit de3adbe

Please sign in to comment.