Skip to content

Commit

Permalink
[CMB-501] more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
richseviora committed Feb 29, 2024
1 parent 6d413f3 commit c50cd6e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
3 changes: 2 additions & 1 deletion __tests__/Integration/Check.spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@
message: "Ruby Integration Test Check",
bank_account: bankAccId,
from: addr2,
amount: 100.0
amount: 100.0,
use_type: 'marketing'
})

response = @checkApi.create(checkEditable)
Expand Down
16 changes: 11 additions & 5 deletions __tests__/Integration/Letter.spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
to: @someAddr.id,
from: @someAddr.id,
file: TestFixtures.FILE_LOCATION_8X11,
color: true
color: true,
use_type: 'marketing'
})

response = @letterApi.create(letterEditable)
Expand Down Expand Up @@ -135,21 +136,24 @@
to: @someAddr.id,
from: @someAddr.id,
file: TestFixtures.FILE_LOCATION_8X11,
color: true
color: true,
use_type: 'marketing'
})

letterEditable2 = LetterEditable.new({
to: @someAddr.id,
from: @someAddr.id,
file: TestFixtures.FILE_LOCATION_8X11,
color: true
color: true,
use_type: 'marketing'
})

letterEditable3 = LetterEditable.new({
to: @someAddr.id,
from: @someAddr.id,
file: TestFixtures.FILE_LOCATION_8X11,
color: true
color: true,
use_type: 'marketing'
})

response1 = @letterApi.create(letterEditable1)
Expand Down Expand Up @@ -266,7 +270,9 @@
to: @someAddr.id,
from: @someAddr.id,
file: TestFixtures.FILE_LOCATION_8X11,
color: true
color: true,
use_type: 'marketing'

})

response = @letterApi.create(letterEditable)
Expand Down
6 changes: 3 additions & 3 deletions __tests__/Integration/Postcard.spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
from: @addressEditable2,
front: TestFixtures.FILE_LOCATION_4x6,
back: TestFixtures.FILE_LOCATION_4x6,

use_type: 'marketing'
});
end

Expand Down Expand Up @@ -103,7 +103,7 @@
from: @addressEditable2,
front: TestFixtures.FILE_LOCATION_4x6,
back: TestFixtures.FILE_LOCATION_4x6,

use_type: 'marketing'
});

response = @postcardApi.create(@dummyPostcard)
Expand Down Expand Up @@ -197,7 +197,7 @@
from: @addressEditable2,
front: TestFixtures.FILE_LOCATION_4x6,
back: TestFixtures.FILE_LOCATION_4x6,

use_type: 'marketing'
});

response = @postcardApi.create(@dummyPostcard)
Expand Down

0 comments on commit c50cd6e

Please sign in to comment.