Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Guardians of the Kretschmar Elock System
Doorcode
Commits
5bebcf24
Commit
5bebcf24
authored
Jul 22, 2020
by
Jacob Priddy
👌
Browse files
Fix broken tests after updating some group attching use cases to
separate errors from messages
parent
4d44f91f
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/backend/tests/Unit/Source/UseCases/GroupUser/AddUserToGroup/PresenterTest.php
View file @
5bebcf24
...
...
@@ -38,6 +38,6 @@ class PresenterTest extends TestCase
{
$this
->
handleTest
(
'message'
);
self
::
assertEquals
([
'messages'
=>
[
'message'
]],
$this
->
response
);
self
::
assertEquals
([
'messages'
=>
[
'message'
]
,
'errors'
=>
[]
],
$this
->
response
);
}
}
src/backend/tests/Unit/Source/UseCases/GroupUser/RemoveUserFromGroup/PresenterTest.php
View file @
5bebcf24
...
...
@@ -38,6 +38,6 @@ class PresenterTest extends TestCase
{
$this
->
handleTest
(
'message'
);
self
::
assertEquals
([
'messages'
=>
[
'message'
]],
$this
->
response
);
self
::
assertEquals
([
'messages'
=>
[
'message'
]
,
'errors'
=>
[]
],
$this
->
response
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment