Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spring2021-SellPoint
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TDT4140-Group 58
Spring2021-SellPoint
Merge requests
!24
Resolve "Redigere bruker"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Redigere bruker"
13-edit-user
into
master
Overview
1
Commits
7
Pipelines
0
Changes
16
Merged
Jonny Ngo Luong
requested to merge
13-edit-user
into
master
3 years ago
Overview
1
Commits
7
Pipelines
0
Changes
3
Expand
Closes
#13 (closed)
1
0
Merge request reports
Viewing commit
51a4b1cb
Prev
Next
Show latest version
3 files
+
18
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
51a4b1cb
Test: Fixed more merge conflicts in test (
#13
)
· 51a4b1cb
Hanna Pelsholen Busterud
authored
3 years ago
client/src/app/users/user-profile-edit-form/user-profile-edit-form.component.spec.ts
+
12
−
0
Options
@@ -18,6 +18,10 @@ describe('UserProfileEditFormComponent', () => {
beforeEach
(
async
()
=>
{
// UserService mock setup
mockUserService
=
jasmine
.
createSpyObj
([
'
updateUser
'
]);
<<<<<<<
HEAD
=======
>>>>>>>
a9bf92d
(
Test
:
added
tests
for
update
user
(
#
13
))
mockUserService
.
updateUser
.
and
.
returnValue
(
new
Promise
<
string
>
(
(
resolve
)
=>
{
@@ -30,11 +34,19 @@ describe('UserProfileEditFormComponent', () => {
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
UserProfileEditFormComponent
],
<<<<<<<
HEAD
imports
:
[
HttpClientTestingModule
,
FormsModule
,
SharedModule
,
RouterTestingModule
.
withRoutes
([
=======
imports
:
[
HttpClientTestingModule
,
FormsModule
,
SharedModule
,
RouterTestingModule
.
withRoutes
([
>>>>>>>
a9bf92d
(
Test
:
added
tests
for
update
user
(
#
13
))
{
path
:
'
profil
'
,
component
:
UserProfileComponent
}
])
],
Loading