spec/cancel_spec.rb in iyzipay-1.0.34 vs spec/cancel_spec.rb in iyzipay-1.0.35
- old
+ new
@@ -10,12 +10,12 @@
@options.base_url = 'https://sandbox-api.iyzipay.com'
end
it 'should cancel payment' do
request = {
- locale: 'tr',
+ locale: Iyzipay::Model::Locale::TR,
conversationId: '123456789',
- paymentId: '238',
+ paymentId: '1',
ip: '85.34.78.112'
}
cancel = Iyzipay::Model::Cancel.new.create(request, @options)
begin
$stderr.puts cancel.inspect
\ No newline at end of file