[
https://issues.apache.org/jira/browse/SLING-6388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15740098#comment-15740098
]
ASF GitHub Bot commented on SLING-6388:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/sling/pull/189
> Support tracking changes of JCR Mock MockSession
> ------------------------------------------------
>
> Key: SLING-6388
> URL: https://issues.apache.org/jira/browse/SLING-6388
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Affects Versions: Testing JCR Mock 1.1.16
> Reporter: Dirk Rudolph
> Assignee: Stefan Seifert
> Priority: Minor
> Fix For: Testing JCR Mock 1.2.0
>
>
> {{org.apache.sling.testing.mock.jcr.MockSession#hasPendingChanges}} always
> returns {{false}}. This causes the {{ResourceResolver}} to return {{false}}
> for {{hasChanges()}} as well, making it difficult to use the JCR Mock
> {{ResourceResolverType}} for tests of transactional implementations using
> {{ResourceResolver}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)