<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting error while running integration test case for custom model in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/getting-error-while-running-integration-test-case-for-custom/m-p/135177#M36344</link>
    <description>&lt;P&gt;Interesting, Could you please share the full IT class here?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;You would want to compare your code with these samples:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/CustomContentModelIT.java" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/CustomContentModelIT.java&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/DemoComponentIT.java" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/DemoComponentIT.java&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 03:53:18 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2021-04-06T03:53:18Z</dc:date>
    <item>
      <title>Getting error while running integration test case for custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-error-while-running-integration-test-case-for-custom/m-p/135176#M36343</link>
      <description>&lt;P&gt;Below is the sample testcase snippet for custommodel&amp;nbsp; .While executing ./run.sh build_test I am getting the below error&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;from the default sample tests .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;com.test.platformsample.CustomContentModelIT: No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;private &lt;/SPAN&gt;NodeRef &lt;SPAN&gt;getCompanyHomeNodeRef&lt;/SPAN&gt;() {&lt;BR /&gt;    &lt;SPAN&gt;return &lt;/SPAN&gt;getServiceRegistry().getNodeLocatorService().getNode(CompanyHomeNodeLocator.&lt;SPAN&gt;NAME&lt;/SPAN&gt;&lt;SPAN&gt;, null, null&lt;/SPAN&gt;)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;NodeRef parentFolderNodeRef = getCompanyHomeNodeRef()&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;QName associationQName = QName.&lt;SPAN&gt;createQName&lt;/SPAN&gt;(NamespaceService.&lt;SPAN&gt;CONTENT_MODEL_1_0_URI&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;name)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;properties.put(ContentModel.&lt;SPAN&gt;PROP_NAME&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;name)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;ChildAssociationRef parentChildAssocRef = getServiceRegistry().getNodeService().createNode(&lt;BR /&gt;        parentFolderNodeRef&lt;SPAN&gt;, &lt;/SPAN&gt;ContentModel.&lt;SPAN&gt;ASSOC_CONTAINS&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;associationQName&lt;SPAN&gt;, &lt;/SPAN&gt;type&lt;SPAN&gt;, &lt;/SPAN&gt;properties)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Apr 2021 17:15:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-error-while-running-integration-test-case-for-custom/m-p/135176#M36343</guid>
      <dc:creator>kiranmaik</dc:creator>
      <dc:date>2021-04-05T17:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error while running integration test case for custom model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/getting-error-while-running-integration-test-case-for-custom/m-p/135177#M36344</link>
      <description>&lt;P&gt;Interesting, Could you please share the full IT class here?&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;You would want to compare your code with these samples:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/CustomContentModelIT.java" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/CustomContentModelIT.java&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/DemoComponentIT.java" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/specialize-type-demo/blob/main/specialize-type-demo-integration-tests/src/test/java/com/github/abhinavmishra14/platformsample/DemoComponentIT.java&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 03:53:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/getting-error-while-running-integration-test-case-for-custom/m-p/135177#M36344</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-04-06T03:53:18Z</dc:date>
    </item>
  </channel>
</rss>

