Skip to content
Permalink
Branch: master
Commits on Jun 8, 2018
  1. Handle item limit for custom coupon types

    JPry committed Jun 8, 2018
    Fixes #20455
  2. Add unit tests around coupon item limit setting

    JPry committed Jun 8, 2018
    Also updates the `WC_Helper_Coupon` class to make it easier to register custom coupon types during tests.
    
    For #20455
Commits on Nov 10, 2017
  1. Add unit tests to compare cloned cart objects to original (#17560)

    JPry authored and mikejolley committed Nov 10, 2017
    * Add unit tests to compare cloned cart objects to original
    
    * Don't use reflection for fees test
    
    * Skip test using ReflectionProperty::setAccessible() below PHP 5.3
Commits on Nov 8, 2017
Commits on Nov 6, 2017
Commits on Nov 3, 2017
  1. Allow for cloning the cart object

    JPry committed Nov 3, 2017
    This handles creating new instances of the `$session` and `$fees_api` properties.
  2. Add separate methods to register hooks

    JPry committed Nov 3, 2017
    This facilitates cloning the cart without registering additonal hooks unnecessarily.
Commits on Aug 18, 2017
You can’t perform that action at this time.