Skip to content

Commit

Permalink
feat(2981): fix case issue with lowercase.
Browse files Browse the repository at this point in the history
  • Loading branch information
koekiebox committed Nov 24, 2024
1 parent 4bb3b25 commit e477ca8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ describe('Open Payments Wallet Address Service', (): void => {
).resolves.toBeUndefined()
})

test('Creating wallet address with case insensitiveness', async (): Promise<void> => {
const url = 'https://alice.me/pay'
test('Creating wallet address with case intensiveness', async (): Promise<void> => {
const url = 'https://Alice.me/pay'
await expect(
walletAddressService.create({
...options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ async function createWalletAddress(
const walletAddress = await WalletAddress.query(
deps.knex
).insertGraphAndFetch({
url: options.url,
url: options.url.toLowerCase(),
publicName: options.publicName,
assetId: options.assetId,
additionalProperties: additionalProperties
Expand Down

0 comments on commit e477ca8

Please sign in to comment.