Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123434

AssertionError in MessageBoardSectionResourceTest

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Message Boards
    • Labels:
    • Story Points:
      2
    • Sprint:
      LIMA | QA Sprint 2

      Description

      Spira

      Jenkins

       [exec] com.liferay.headless.delivery.resource.v1_0.test.MessageBoardSectionResourceTest > testGetMessageBoardSectionMessageBoardSectionsPageWithSortDateTime FAILED
           [exec]     java.lang.AssertionError: {"actions": {"add-subcategory":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{parentMessageBoardSectionId}/message-board-sections","method":"POST"},"add-thread":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}/message-board-threads","method":"POST"},"delete":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}","method":"DELETE"},"get":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}","method":"GET"},"replace":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}","method":"PUT"},"subscribe":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}/subscribe","method":"PUT"},"unsubscribe":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}/unsubscribe","method":"PUT"}}, "creator": {"additionalName": "", "contentType": "UserAccount", "familyName": "Test", "givenName": "Test", "id": 20126, "name": "Test Test"}, "customFields": [], "dateCreated": "2020-11-12T11:52:17Z", "dateModified": "2020-11-12T11:52:17Z", "description": "bjfylqzc", "id": 47651, "numberOfMessageBoardSections": 0, "numberOfMessageBoardThreads": 0, "parentMessageBoardSectionId": 47649, "siteId": 47646, "subscribed": false, "title": "npguleuv"} does not equal {"actions": {"add-subcategory":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{parentMessageBoardSectionId}/message-board-sections","method":"POST"},"add-thread":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}/message-board-threads","method":"POST"},"delete":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}","method":"DELETE"},"get":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}","method":"GET"},"replace":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}","method":"PUT"},"subscribe":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}/subscribe","method":"PUT"},"unsubscribe":{"href":"http://localhost:8080/o/headless-delivery/v1.0/message-board-sections/{messageBoardSectionId}/unsubscribe","method":"PUT"}}, "creator": {"additionalName": "", "contentType": "UserAccount", "familyName": "Test", "givenName": "Test", "id": 20126, "name": "Test Test"}, "customFields": [], "dateCreated": "2020-11-12T11:52:17Z", "dateModified": "2020-11-12T11:52:17Z", "description": "jznhqvnw", "id": 47653, "numberOfMessageBoardSections": 0, "numberOfMessageBoardThreads": 0, "parentMessageBoardSectionId": 47649, "siteId": 47646, "subscribed": false, "title": "9lanhkez"}
           [exec]     	at org.junit.Assert.fail(Assert.java:89)
           [exec]     	at org.junit.Assert.assertTrue(Assert.java:42)
           [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseMessageBoardSectionResourceTestCase.assertEquals(BaseMessageBoardSectionResourceTestCase.java:1380)
           [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseMessageBoardSectionResourceTestCase.assertEquals(BaseMessageBoardSectionResourceTestCase.java:1398)
           [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseMessageBoardSectionResourceTestCase.testGetMessageBoardSectionMessageBoardSectionsPageWithSort(BaseMessageBoardSectionResourceTestCase.java:782)
           [exec]     	at com.liferay.headless.delivery.resource.v1_0.test.BaseMessageBoardSectionResourceTestCase.testGetMessageBoardSectionMessageBoardSectionsPageWithSortDateTime(BaseMessageBoardSectionResourceTestCase.java:667)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [exec]     	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
           [exec]     	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]     	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$3.evaluate(TestExecutorRunnable.java:353)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:237)
           [exec]     	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59)
           [exec]     	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:316)
           [exec]     	at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95)
           [exec]     	at java.lang.Thread.run(Thread.java:745)
      

        Attachments

          Activity

            People

            Assignee:
            beck.liu Beck Liu
            Reporter:
            calvin.vo Calvin Vo
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              36 weeks, 2 days ago

                Packages

                Version Package