swipestripe
[ class tree: swipestripe ] [ index: swipestripe ] [ all elements ]

Class: OrderModifierTest

Source Location: /tests/OrderModifierTest.php

Class Overview

FunctionalTest
   |
   --OrderModifierTest

Testing Order modifiers at checkout.


Author(s):

Version:

  • 1.0

Copyright:

  • Copyright (c) 2011, Frank Mullenger

Variables

Methods



Class Details

[line 17]
Testing Order modifiers at checkout.

Summary of tests: ----------------- checkout with flat fee shipping checkout with deleted flat fee shipping option checkout with wrong flat fee shipping option compared to shipping country




Tags:

author:  Frank Mullenger <frankmullenger@gmail.com>
version:  1.0
copyright:  Copyright (c) 2011, Frank Mullenger


[ Top ]


Class Variables

static $disable_themes =  true

[line 20]


Type:   mixed


[ Top ]

static $fixture_file =  'swipestripe/tests/Shop.yml'

[line 19]


Type:   mixed


[ Top ]

static $use_draft_site =  false

[line 21]


Type:   mixed


[ Top ]



Class Methods


method getFormData [line 54]

Array getFormData( String $formID)

Helper to get data from a form.



Parameters:

String   $formID  

[ Top ]

method logOut [line 44]

void logOut( )

Log current member out by clearing session



[ Top ]

method setUp [line 23]

void setUp( )



[ Top ]

method testCheckoutDeletedFlatFeeShipping [line 132]

void testCheckoutDeletedFlatFeeShipping( )

Try to checkout with deleted flat fee shipping option



[ Top ]

method testCheckoutFlatFeeShipping [line 78]

void testCheckoutFlatFeeShipping( )

Try to checkout with valid flat fee shipping option



[ Top ]

method testCheckoutInvalidFlatFeeShipping [line 193]

void testCheckoutInvalidFlatFeeShipping( )

Try checkout with invalid flat fee shipping option



[ Top ]


Documentation generated on Thu, 08 Mar 2012 16:47:27 +1300 by phpDocumentor 1.4.4