Skip to content

Commit 3cf2616

Browse files
committed
refactor(tests): remove password parameter from client setup in URL generation tests
1 parent fab9156 commit 3cf2616

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

test/imagekit/custom-tests/url-generation/advanced_url_generation_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
class AdvancedURLGenerationTest < Minitest::Test
66
def setup
77
@client = Imagekit::Client.new(
8-
private_key: "My Private API Key",
9-
password: "test_password"
8+
private_key: "My Private API Key"
109
)
1110
end
1211

test/imagekit/custom-tests/url-generation/basic_url_generation_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
class BasicURLGenerationTest < Minitest::Test
66
def setup
77
@client = Imagekit::Client.new(
8-
private_key: "My Private API Key",
9-
password: "test_password"
8+
private_key: "My Private API Key"
109
)
1110
end
1211

test/imagekit/custom-tests/url-generation/build_transformation_string_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
class BuildTransformationStringTest < Minitest::Test
66
def setup
77
@client = Imagekit::Client.new(
8-
private_key: "test-key",
9-
password: "test_password"
8+
private_key: "test-key"
109
)
1110
end
1211

test/imagekit/custom-tests/url-generation/overlay_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
class OverlayTest < Minitest::Test
66
def setup
77
@client = Imagekit::Client.new(
8-
private_key: "My Private API Key",
9-
password: "test_password"
8+
private_key: "My Private API Key"
109
)
1110
end
1211

test/imagekit/custom-tests/url-generation/signing_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
class SigningTest < Minitest::Test
66
def setup
77
@client = Imagekit::Client.new(
8-
private_key: "dummy-key",
9-
password: "test_password"
8+
private_key: "dummy-key"
109
)
1110
end
1211

0 commit comments

Comments
 (0)