Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
change prefix for mock content
Browse files Browse the repository at this point in the history
  • Loading branch information
nuo-xu committed Apr 27, 2023
1 parent ff7ffaf commit e5d699b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/BraveWallet/Preview Content/MockContent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ extension TransactionSummary {
}

extension BraveWallet.CoinMarket {
static var previewCoinMarketBitcoin: BraveWallet.CoinMarket {
static var mockCoinMarketBitcoin: BraveWallet.CoinMarket {
.init(
id: "bitcoin",
symbol: "btc",
Expand All @@ -355,7 +355,7 @@ extension BraveWallet.CoinMarket {
totalVolume: 30825602847
)
}
static var previewCoinMarketEth: BraveWallet.CoinMarket {
static var mockCoinMarketEth: BraveWallet.CoinMarket {
.init(
id: "ethereum",
symbol: "eth",
Expand Down
4 changes: 2 additions & 2 deletions Tests/BraveWalletTests/AssetDetailStoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ class AssetDetailStoreTests: XCTestCase {
blockchainRegistry: blockchainRegistry,
solTxManagerProxy: solTxManagerProxy,
swapService: swapService,
assetDetailType: .coinMarket(.previewCoinMarketBitcoin)
assetDetailType: .coinMarket(.mockCoinMarketBitcoin)
)

let assetDetailBitcoinException = expectation(description: "update-coinMarket-bitcoin")
Expand Down Expand Up @@ -397,7 +397,7 @@ class AssetDetailStoreTests: XCTestCase {
blockchainRegistry: blockchainRegistry,
solTxManagerProxy: solTxManagerProxy,
swapService: swapService,
assetDetailType: .coinMarket(.previewCoinMarketEth)
assetDetailType: .coinMarket(.mockCoinMarketEth)
)
let assetDetailNonBitcoinException = expectation(description: "update-coinMarket-non-bitcoin")
assetDetailNonBitcoinException.expectedFulfillmentCount = 11
Expand Down

0 comments on commit e5d699b

Please sign in to comment.