Skip to content
Snippets Groups Projects
  1. Feb 07, 2017
  2. Feb 06, 2017
  3. Feb 04, 2017
  4. Feb 03, 2017
    • Aaron Bauman's avatar
      still plugging away on tests · 334d1542
      Aaron Bauman authored
      334d1542
    • Aaron Bauman's avatar
      Merge branch 'mads-30' of bitbucket.org:messageagency/sf into mads-30 · 5106b04e
      Aaron Bauman authored
      # By git
      # Via git
      * 'mads-30' of bitbucket.org:messageagency/sf:
        End of week commit Adds DeleteHandlerTest (not quite working yet) Removes injected Url object in RestClient. There is no @url service in core.services.yml and we’re not supposed to use UrlGenerator. Since Url is only used once in RestClient::getAuthCallbackUrl(), Url is used directly and that method can be easily mocked under test. Cleans up salesforce_pull_cron() Cleans up DeleteHandler’s use statements Adds Request object to DeleteHandler’s constructor to handle REQUEST_TIME server global Adds boolean returns to DeleteHandler methods for unit testing purposes Fixes camel casing in MappedObjectStorage::loadBySfid() call in DeleteHandler Converts try/catch pairs in DeleteHandler to non-exception based conditional logic to make logic testable Cleans up PullBase’s use statements Adds event dispatcher service to PullBase’s constructor Removes some property reference discrepancies in PullBase Removes unnecessary code from PullBaseTest Removes unnecessary code from QueueHandlerTest Adds back in missing properties in a loadByProperties call in salesforce_push.module Adds logger.factory service to PushQueue’s service definition in salesforce_push.services.yml Changes logger service injection in PushQueue’s constructor to logger.factory service (there is no logger service defined in core.services.yml) Fixes all logger service references in PushQueue Cleans up SalesforcePushQueueProcessor/Rest’s use statements Removes EntityManager service injection in SalesforcePushQueueProcessor/Rest’s constructor in favor of already existing EntityTypeManager service
      
      Conflicts:
      	modules/salesforce_pull/src/Plugin/QueueWorker/PullBase.php
      	modules/salesforce_pull/tests/src/Unit/PullBaseTest.php
      	modules/salesforce_push/src/Plugin/SalesforcePushQueueProcessor/Rest.php
      5106b04e
    • Aaron Bauman's avatar
      end of day commit. not working · 0c789be6
      Aaron Bauman authored
      0c789be6
    • git's avatar
      End of week commit · d13572d8
      git authored
      Adds DeleteHandlerTest (not quite working yet)
      Removes injected Url object in RestClient. There is no @url service in core.services.yml and we’re
      not supposed to use UrlGenerator. Since Url is only used once in RestClient::getAuthCallbackUrl(),
      Url is used directly and that method can be easily mocked under test.
      Cleans up salesforce_pull_cron()
      Cleans up DeleteHandler’s use statements
      Adds Request object to DeleteHandler’s constructor to handle REQUEST_TIME server global
      Adds boolean returns to DeleteHandler methods for unit testing purposes
      Fixes camel casing in MappedObjectStorage::loadBySfid() call in DeleteHandler
      Converts try/catch pairs in DeleteHandler to non-exception based conditional logic to make logic
      testable
      Cleans up PullBase’s use statements
      Adds event dispatcher service to PullBase’s constructor
      Removes some property reference discrepancies in PullBase
      Removes unnecessary code from PullBaseTest
      Removes unnecessary code from QueueHandlerTest
      Adds back in missing properties in a loadByProperties call in salesforce_push.module
      Adds logger.factory service to PushQueue’s service definition in salesforce_push.services.yml
      Changes logger service injection in PushQueue’s constructor to logger.factory service (there is
      no logger service defined in core.services.yml)
      Fixes all logger service references in PushQueue
      Cleans up SalesforcePushQueueProcessor/Rest’s use statements
      Removes EntityManager service injection in SalesforcePushQueueProcessor/Rest’s
      constructor in favor of already existing EntityTypeManager service
      
      Still to do:
      DeletehandlerTest needs to pass - A deep property call is not working, causing the test to
      error out.
      Fix DeleteHandler’s call to property so it’s easier to mock under test
      Address Warning: array_flip(): Can only flip STRING and INTEGER values! error in or around
      SalesForcePullEvent
      Fix PullBase’s multiple creation of same new Drupal entity (was fixed, now showing up again).
      d13572d8
  5. Feb 02, 2017
  6. Feb 01, 2017
  7. Jan 31, 2017
  8. Jan 30, 2017
  9. Jan 27, 2017
  10. Jan 26, 2017
Loading