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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
erp5
Commits
5fa14f6a
Commit
5fa14f6a
authored
Sep 01, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use state ids, not titles.
parent
8ed9ddfa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
+2
-2
bt5/erp5_web_shacache/bt/revision
bt5/erp5_web_shacache/bt/revision
+1
-1
No files found.
bt5/erp5_web_shacache/TestTemplateItem/testShaCache.py
View file @
5fa14f6a
...
@@ -124,7 +124,7 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
...
@@ -124,7 +124,7 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
transaction
.
commit
()
transaction
.
commit
()
self
.
tic
()
self
.
tic
()
document
=
self
.
portal
.
portal_catalog
.
getResultValue
(
reference
=
self
.
key
)
document
=
self
.
portal
.
portal_catalog
.
getResultValue
(
reference
=
self
.
key
)
self
.
assertEquals
(
'
Published'
,
document
.
getValidationStateTitl
e
())
self
.
assertEquals
(
'
published'
,
document
.
getValidationStat
e
())
self
.
postFile
()
self
.
postFile
()
transaction
.
commit
()
transaction
.
commit
()
...
@@ -134,7 +134,7 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
...
@@ -134,7 +134,7 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
document2
=
self
.
portal
.
portal_catalog
.
getResultValue
(
reference
=
self
.
key
,
document2
=
self
.
portal
.
portal_catalog
.
getResultValue
(
reference
=
self
.
key
,
sort_on
=
((
'uid'
,
'ASC'
),))
sort_on
=
((
'uid'
,
'ASC'
),))
self
.
assertEquals
(
'
Published'
,
document2
.
getValidationStateTitl
e
())
self
.
assertEquals
(
'
published'
,
document2
.
getValidationStat
e
())
self
.
assertEquals
(
'archived'
,
document
.
getValidationState
())
self
.
assertEquals
(
'archived'
,
document
.
getValidationState
())
bt5/erp5_web_shacache/bt/revision
View file @
5fa14f6a
60
61
\ No newline at end of file
\ No newline at end of file
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