Skip to content

Commit

Permalink
[CARD-55] FIx broken cy test
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsmth-tier2 committed Mar 25, 2024
1 parent 269b985 commit 9778443
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ testem.log
# System files
.DS_Store
Thumbs.db

# Testing

cypress/screenshots/*.png
6 changes: 3 additions & 3 deletions src/app/core/service/http/http.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class HttpService {

constructor(private http: HttpClient) {}

get(baseUrl: String, path: string, params?: any, pathVariables?: any): Observable<any> {
get(baseUrl: string, path: string, params?: any, pathVariables?: any): Observable<any> {
const url = baseUrl + path;
const headers = new HttpHeaders();

Expand All @@ -18,8 +18,8 @@ export class HttpService {
.pipe(catchError(HttpService.handleError));
}

post(path: string, body: any, params?: any, pathVariables?: any): Observable<any> {
const url = `http://localhost:8080/${path}`;
post(baseUrl: string, path: string, body: any, params?: any, pathVariables?: any): Observable<any> {
const url = baseUrl + path;
const headers = new HttpHeaders();

return this.http
Expand Down

0 comments on commit 9778443

Please sign in to comment.