Skip to content

Commit

Permalink
short urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacio-chiazzo committed Sep 15, 2023
1 parent 23440d8 commit 3a44d72
Show file tree
Hide file tree
Showing 15 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# typed: true
# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
$LOAD_PATH.unshift File.expand_path('../lib/whatsapp_sdk', __dir__)

require "minitest/autorun"
require "minitest/assertions"
Expand Down
2 changes: 1 addition & 1 deletion test/whatsapp/api/api_configuration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

require 'test_helper'
require 'whatsapp_sdk/api/client'
require 'api/client'

module WhatsappSdk
module Api
Expand Down
4 changes: 2 additions & 2 deletions test/whatsapp/api/business_profile_test.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# typed: true
# frozen_string_literal: true

require 'whatsapp_sdk/api/business_profile'
require 'whatsapp_sdk/api/client'
require 'api/business_profile'
require 'api/client'

module WhatsappSdk
module Api
Expand Down
4 changes: 2 additions & 2 deletions test/whatsapp/api/client_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# frozen_string_literal: true

require 'test_helper'
require 'whatsapp_sdk/api/client'
require 'whatsapp_sdk/api/api_configuration'
require 'api/client'
require 'api/api_configuration'

module WhatsappSdk
module Api
Expand Down
4 changes: 2 additions & 2 deletions test/whatsapp/api/medias_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/api/medias'
require 'whatsapp_sdk/api/client'
require 'api/medias'
require 'api/client'

module WhatsappSdk
module Api
Expand Down
38 changes: 19 additions & 19 deletions test/whatsapp/api/messages_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/api/responses/read_message_data_response'
require 'whatsapp_sdk/api/messages'
require 'whatsapp_sdk/resource/address_type'
require 'whatsapp_sdk/resource/address'
require 'whatsapp_sdk/resource/contact'
require 'whatsapp_sdk/resource/interactive'
require 'whatsapp_sdk/resource/interactive_action'
require 'whatsapp_sdk/resource/interactive_action_reply_button'
require 'whatsapp_sdk/resource/interactive_action_section'
require 'whatsapp_sdk/resource/interactive_action_section_row'
require 'whatsapp_sdk/resource/interactive_body'
require 'whatsapp_sdk/resource/interactive_footer'
require 'whatsapp_sdk/resource/interactive_header'
require 'whatsapp_sdk/resource/phone_number'
require 'whatsapp_sdk/resource/url'
require 'whatsapp_sdk/resource/email'
require 'whatsapp_sdk/resource/org'
require 'whatsapp_sdk/resource/name'
require 'whatsapp_sdk/api/client'
require 'api/responses/read_message_data_response'
require 'api/messages'
require 'resource/address_type'
require 'resource/address'
require 'resource/contact'
require 'resource/interactive'
require 'resource/interactive_action'
require 'resource/interactive_action_reply_button'
require 'resource/interactive_action_section'
require 'resource/interactive_action_section_row'
require 'resource/interactive_body'
require 'resource/interactive_footer'
require 'resource/interactive_header'
require 'resource/phone_number'
require 'resource/url'
require 'resource/email'
require 'resource/org'
require 'resource/name'
require 'api/client'
require_relative '../contact_helper'

module WhatsappSdk
Expand Down
6 changes: 3 additions & 3 deletions test/whatsapp/api/phone_numbers_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/api/phone_numbers'
require 'whatsapp_sdk/resource/contact_response'
require 'whatsapp_sdk/api/client'
require 'api/phone_numbers'
require 'resource/contact_response'
require 'api/client'

module WhatsappSdk
module Api
Expand Down
2 changes: 1 addition & 1 deletion test/whatsapp/resource/button_parameter_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/button_parameter'
require 'resource/button_parameter'

module WhatsappSdk
module Resource
Expand Down
10 changes: 5 additions & 5 deletions test/whatsapp/resource/component_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/parameter_object'
require 'whatsapp_sdk/resource/media'
require 'whatsapp_sdk/resource/date_time'
require 'whatsapp_sdk/resource/currency'
require 'whatsapp_sdk/resource/component'
require 'resource/parameter_object'
require 'resource/media'
require 'resource/date_time'
require 'resource/currency'
require 'resource/component'

module WhatsappSdk
module Resource
Expand Down
2 changes: 1 addition & 1 deletion test/whatsapp/resource/currency_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/currency'
require 'resource/currency'

module WhatsappSdk
module Resource
Expand Down
2 changes: 1 addition & 1 deletion test/whatsapp/resource/date_time_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/date_time'
require 'resource/date_time'

module WhatsappSdk
module Resource
Expand Down
16 changes: 8 additions & 8 deletions test/whatsapp/resource/interactive_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/interactive'
require 'whatsapp_sdk/resource/interactive_action'
require 'whatsapp_sdk/resource/interactive_action_reply_button'
require 'whatsapp_sdk/resource/interactive_action_section'
require 'whatsapp_sdk/resource/interactive_action_section_row'
require 'whatsapp_sdk/resource/interactive_body'
require 'whatsapp_sdk/resource/interactive_footer'
require 'whatsapp_sdk/resource/interactive_header'
require 'resource/interactive'
require 'resource/interactive_action'
require 'resource/interactive_action_reply_button'
require 'resource/interactive_action_section'
require 'resource/interactive_action_section_row'
require 'resource/interactive_body'
require 'resource/interactive_footer'
require 'resource/interactive_header'

module WhatsappSdk
module Resource
Expand Down
2 changes: 1 addition & 1 deletion test/whatsapp/resource/media_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/media'
require 'resource/media'

module WhatsappSdk
module Resource
Expand Down
12 changes: 6 additions & 6 deletions test/whatsapp/resource/parameter_object_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
# frozen_string_literal: true

require "test_helper"
require 'whatsapp_sdk/resource/parameter_object'
require 'whatsapp_sdk/resource/media'
require 'whatsapp_sdk/resource/date_time'
require 'whatsapp_sdk/resource/currency'
require 'whatsapp_sdk/error'
require 'whatsapp_sdk/resource/errors'
require 'resource/parameter_object'
require 'resource/media'
require 'resource/date_time'
require 'resource/currency'
require 'error'
require 'resource/errors'

module WhatsappSdk
module Resource
Expand Down
2 changes: 1 addition & 1 deletion test/whatsapp/version_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# frozen_string_literal: true

require "test_helper"
require_relative '../../lib/whatsapp_sdk/version'
require 'version'

class VersionTest < Minitest::Test
def test_that_it_has_a_version_number
Expand Down

0 comments on commit 3a44d72

Please sign in to comment.