Skip to content

Commit

Permalink
TypeError: reportScoreForSanFrancisco is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
cNoveron committed Feb 1, 2020
1 parent 9433e38 commit 3fca9a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/SportsBook.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ contract('SportsBook', function ([

context('game ends with Kansas City beating San Francisco 32-28', function () {
beforeEach(async function () {
await this.sportsBook.reportScoreForSanFrancisco(28, { from: whitelistAdmin });
await this.sportsBook.reportScoreForKansasCity(32, { from: whitelistAdmin });
await this.sportsBook.setScoreForSanFrancisco(28, { from: whitelistAdmin });
await this.sportsBook.setScoreForKansasCity(32, { from: whitelistAdmin });
await this.sportsBook.reportGameEnded({ from: whitelistAdmin });
});

Expand Down

0 comments on commit 3fca9a1

Please sign in to comment.