Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
17d19825
Commit
17d19825
authored
Oct 11, 2017
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_oauth_google_login: Remove user that is not used in tests
parent
a5a916c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
bt5/erp5_oauth_google_login/TestTemplateItem/portal_components/test.erp5.testGoogleLogin.py
...mplateItem/portal_components/test.erp5.testGoogleLogin.py
+0
-13
No files found.
bt5/erp5_oauth_google_login/TestTemplateItem/portal_components/test.erp5.testGoogleLogin.py
View file @
17d19825
...
@@ -110,21 +110,8 @@ class TestGoogleLogin(ERP5TypeTestCase):
...
@@ -110,21 +110,8 @@ class TestGoogleLogin(ERP5TypeTestCase):
GoogleLoginUtility
.
getAccessTokenFromCode
=
getAccessTokenFromCode
GoogleLoginUtility
.
getAccessTokenFromCode
=
getAccessTokenFromCode
GoogleLoginUtility
.
getUserEntry
=
getUserEntry
GoogleLoginUtility
.
getUserEntry
=
getUserEntry
self
.
dummy_user_id
=
"dummy"
self
.
dummy_connector_id
=
"test_google_connector"
self
.
dummy_connector_id
=
"test_google_connector"
person_module
=
self
.
portal
.
person_module
person_module
=
self
.
portal
.
person_module
if
getattr
(
person_module
,
self
.
dummy_user_id
,
None
)
is
None
:
person
=
person_module
.
newContent
(
first_name
=
"Dummy"
,
id
=
self
.
dummy_user_id
,
reference
=
self
.
dummy_user_id
,
user_id
=
self
.
dummy_user_id
)
assignment
=
person
.
newContent
(
portal_type
=
"Assignment"
)
assignment
.
open
()
login
=
person
.
newContent
(
portal_type
=
"ERP5 Login"
,
reference
=
self
.
dummy_user_id
)
login
.
validate
()
person
.
validate
()
self
.
tic
()
portal_catalog
=
self
.
portal
.
portal_catalog
portal_catalog
=
self
.
portal
.
portal_catalog
for
obj
in
portal_catalog
(
portal_type
=
[
"Google Login"
,
"Person"
],
for
obj
in
portal_catalog
(
portal_type
=
[
"Google Login"
,
"Person"
],
reference
=
getUserId
(
None
),
reference
=
getUserId
(
None
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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