Uploaded image for project: 'CiviHR'
  1. CiviHR
  2. HR-20 CiviHR - Entity - Job Positions & Roles
  3. HR-62

Add hrjob entities to api_v3_HRJobTest::testCreateChained

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Do
    • Affects Version/s: HR-1.0
    • Fix Version/s: HR-1.0
    • Component/s: None
    • Labels:
      None

      Description

      hrjob includes several new entities (with XML/DAO/BAO/API). Although api_v3_SyntaxConformanceAllEntitiesTest should do the heavy-lifting of testing these, we need some basic sanity tests to ensure that the API's are working and fitting together.

      This commit adds a test-case for creating an HRJob record and an HRJobPay record:

      https://github.com/civicrm/civihr/commit/2a9aa79cc0883ede91e8377b583c6edf9831d8ef

      Using HRJobPay as a model, we should update the test to create records with every other HRJob* API.

      See also:

        Attachments

          Activity

            People

            • Assignee:
              ravish.nair Ravish Nair
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m