Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
test(Env): add webHardFork msg to env mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Nov 2, 2017
1 parent d025fab commit f61f82a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions tests/controllers/buy_sell_select_partner_ctrl_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ describe('BuySellSelectPartnerController', () => {
beforeEach(() => {
module(($provide) => {
$provide.factory('Env', ($q) => $q.resolve({
webHardFork: {
balanceMessage: { 'en': 'Balance message' }
},
partners: {
coinify: {
countries: ['GB']
Expand Down
5 changes: 4 additions & 1 deletion tests/controllers/signup_controller_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ describe('SignupCtrl', () => {
beforeEach(() => {
module(($provide) => {
$provide.factory('Env', ($q) => $q.resolve({
rootURL: 'https://blockchain.info/'
rootURL: 'https://blockchain.info/',
webHardFork: {
balanceMessage: { 'en': 'Balance message' }
}
}));
});
});
Expand Down
5 changes: 4 additions & 1 deletion tests/directives/trade_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ describe('Trade Directive', () => {
beforeEach(() => {
module(($provide) => {
$provide.factory('Env', ($q) => $q.resolve({
rootURL: 'https://blockchain.info/'
rootURL: 'https://blockchain.info/',
webHardFork: {
balanceMessage: { 'en': 'Balance message' }
}
}));
});
});
Expand Down

0 comments on commit f61f82a

Please sign in to comment.