Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The tests in this class applies to the account location controller. 
In SonWIn terms, an account is somewhat equivilant to an AKUNDE installatio (AINSD) record. 

However not all data comes from teh ainsd table.

Included in the tests for this controller is the Common Data Tests.

...

Information about the controller can be found in this link: 

Account Location Controller

GetAccount method

Test 1

Unique identification

  • Data returned is correct for the installation / customer reference 
  • No installation can be reffed when customer is not active on that reference
  • The startdate(leverance start) / enddate (leverance stop) i scorrect according to the type of supply (currently electrical only)
  • Account returned should be unique and identifiable 
    • Error if more than one account with the same active customerid and status for active customer
  • Account detail match the things in Billing

Result:

Update User Account

...