Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • REST Builder

    Description

      Add generated test to cover the following tests pattern

      @Override
      	@Test
      	public void testPutSiteWikiNodeByExternalReferenceCode() throws Exception {
      
      		// Update
      
      		super.testPutSiteWikiNodeByExternalReferenceCode();
      
      		// Add
      
      		com.liferay.headless.delivery.client.dto.v1_0.WikiNode randomWikiNode =
      			randomWikiNode();
      
      		com.liferay.headless.delivery.client.dto.v1_0.WikiNode putWikiNode =
      			wikiNodeResource.putSiteWikiNodeByExternalReferenceCode(
      				randomWikiNode.getExternalReferenceCode(),
      				testGroup.getGroupId(), randomWikiNode);
      
      		assertEquals(randomWikiNode, putWikiNode);
      		assertValid(putWikiNode);
      
      		com.liferay.headless.delivery.client.dto.v1_0.WikiNode getWikiPage =
      			wikiNodeResource.getSiteWikiNodeByExternalReferenceCode(
      				putWikiNode.getExternalReferenceCode(), testGroup.getGroupId());
      
      		assertEquals(randomWikiNode, getWikiPage);
      		assertValid(getWikiPage);
      
      		Assert.assertEquals(
      			randomWikiNode.getExternalReferenceCode(),
      			putWikiNode.getExternalReferenceCode());
      	}
      

      Attachments

        Activity

          People

            support-lep@liferay.com SE Support
            luismiguel.barco Luis Miguel Barcos
            Manuel Molina Manuel Molina
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package