Skip to content

Commit

Permalink
provisional test
Browse files Browse the repository at this point in the history
  • Loading branch information
pablogeek committed Sep 16, 2023
1 parent 00b1efe commit 35cf802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/test.yml

This file was deleted.

5 changes: 2 additions & 3 deletions test/TestGameFactory.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

// test/TestQuizGame.sol
pragma solidity ^0.8.13;

Expand Down Expand Up @@ -36,13 +35,13 @@ contract TestGameFactory {
Assert.equal(gameFactory.getCount(), 1, "Num of games should be 1");

// I would really like to test this if it was possible to create msg.sender address in a test
address last = gameFactory.getLastDeployedGame();
/*address last = gameFactory.getLastDeployedGame();
gameFactory.joinGame(last);
try gameFactory.createGame() {
}catch {
Assert.fail("Expected to be able to create a new game");
}
}*/
}
}

0 comments on commit 35cf802

Please sign in to comment.