Skip to content

Commit

Permalink
CIWEMB-372: Update the Step0010.sql and test files
Browse files Browse the repository at this point in the history
  • Loading branch information
ahed-compucorp committed Jul 19, 2023
1 parent 3358352 commit d93b5ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions sql/upgrade/Step0010.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
-- *******************************************************/
CREATE TABLE `membershipextras_payment_scheme` (
`id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Unique PaymentScheme ID',
`name` varchar(255) NOT NULL,
`admin_title` varchar(255) NOT NULL,
`admin_description` varchar(255),
`public_title` varchar(255) NOT NULL,
`public_description` varchar(255),
`name` varchar(250) NOT NULL,
`admin_title` varchar(250),
`description` varchar(500),
`public_title` varchar(250) NOT NULL,
`public_description` varchar(500) NOT NULL,
`payment_processor` int unsigned NOT NULL,
`permission` varchar(10) NOT NULL,
`enabled` tinyint NOT NULL DEFAULT false,
`parameters` text NOT NULL,
`payment_processor` int unsigned NOT NULL,
PRIMARY KEY (`id`),

CONSTRAINT FK_membershipextras_payment_scheme_payment_processor
Expand Down
4 changes: 2 additions & 2 deletions tests/phpunit/CRM/MembershipExtras/BAO/PaymentSchemeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function testCreatePaymentScheme() {
$params = [
'name' => 'Test scheme',
'admin_title' => 'Admin title',
'admin_description' => 'Admin description',
'description' => 'description',
'public_title' => 'Public value',
'public_description' => 'Public description',
'permission' => 'public',
Expand All @@ -39,7 +39,7 @@ public function testGetAll() {

$param = [
'admin_title' => 'Admin title',
'admin_description' => 'Admin description',
'description' => 'description',
'public_title' => 'Public value',
'public_description' => 'Public description',
'permission' => 'public',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ protected function createPaymentScheme() {
$params = [
'name' => 'Test scheme',
'admin_title' => 'Admin title',
'admin_description' => 'Admin description',
'description' => 'description',
'public_title' => 'Public value',
'public_description' => 'Public description',
'permission' => 'public',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function createPaymentSchemeAndLinkToPaymentPlanOrder() {
$params = [
'name' => 'Test scheme',
'admin_title' => 'Admin title',
'admin_description' => 'Admin description',
'description' => 'description',
'public_title' => 'Public value',
'public_description' => 'Public description',
'permission' => 'public',
Expand Down

0 comments on commit d93b5ba

Please sign in to comment.