summaryrefslogtreecommitdiff
path: root/t/data/62-request-data
blob: ae8c6d0ebbc7fe9dc225aab3bf746c885d98297e (plain)
  1. our $test_request_data = [
  2. # AR/AP Transaction Screen Tests
  3. {
  4. '_test_id' => 'AR Transaction Screen',
  5. '_codebase' => 'old',
  6. 'module' => 'ar.pl',
  7. 'action' => 'add'
  8. },
  9. {
  10. '_test_id' => 'AP Transaction Screen',
  11. '_codebase' => 'old',
  12. 'module' => 'ap.pl',
  13. 'action' => 'add'
  14. },
  15. # Create Batch Screens
  16. {
  17. '_test_id' => 'AR Transaction Voucher Screen',
  18. '_codebase' => 'new',
  19. 'action' => 'create_batch',
  20. 'batch_type' => 'recievable',
  21. 'module' => 'vouchers.pl',
  22. },
  23. {
  24. '_test_id' => 'AP Transaction Voucher Screen',
  25. '_codebase' => 'new',
  26. 'action' => 'create_batch',
  27. 'batch_type' => 'payable',
  28. 'module' => 'vouchers.pl',
  29. },
  30. {
  31. '_test_id' => 'Payment Transaction Voucher Screen',
  32. '_codebase' => 'new',
  33. 'action' => 'create_batch',
  34. 'batch_type' => 'payment',
  35. 'module' => 'vouchers.pl',
  36. },
  37. {
  38. '_test_id' => 'Payment Reversal Transaction Voucher Screen',
  39. '_codebase' => 'new',
  40. 'action' => 'create_batch',
  41. 'batch_type' => 'payment_reversal',
  42. 'module' => 'vouchers.pl',
  43. },
  44. {
  45. '_test_id' => 'GL Transaction Voucher Screen',
  46. '_codebase' => 'new',
  47. 'action' => 'create_batch',
  48. 'batch_type' => 'gl',
  49. 'module' => 'vouchers.pl',
  50. },
  51. ];
  52. opendir (D62, 't/data/62.d');
  53. for my $testfile (readdir(D62)){
  54. do "t/data/62.d/$testfile";
  55. };