Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
fixes frontend unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk committed Jul 22, 2020
1 parent e6c61f5 commit ebd69af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions web/frontend/src/services/__mocks__/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ export default {
sid: '',
environment: ''
}
},

clientId() {
return null
}
}
2 changes: 1 addition & 1 deletion web/frontend/tests/unit/__snapshots__/Account.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`Account.vue renders user profile 1`] = `
<!---->
<div class="card-body">
<!---->
<!----><img class="profile d-none d-md-block" src="face.jpg">
<!----><img src="img/placeholder-profile.jpg" class="profile d-none d-md-block">
Display Name: <b>Mock User</b> <br>
Username: <b>mock@example.net</b></div>
Expand Down

0 comments on commit ebd69af

Please sign in to comment.