Skip to content

Commit

Permalink
fix test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
xpoproci committed Oct 18, 2024
1 parent 6a43b29 commit 143fa3a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/modules/esport_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class EsportTest : public TestWithParam<Locale>
public:
};

TEST_F(EsportTest, shouldGeneratePlayer)
TEST_P(EsportTest, shouldGeneratePlayer)
{
const auto locale = GetParam();

Expand All @@ -39,7 +39,7 @@ TEST_F(EsportTest, shouldGeneratePlayer)
{ return generatedPlayer == player; }));
}

TEST_F(EsportTest, shouldGenerateTeam)
TEST_P(EsportTest, shouldGenerateTeam)
{
const auto locale = GetParam();

Expand All @@ -51,7 +51,7 @@ TEST_F(EsportTest, shouldGenerateTeam)
std::ranges::any_of(esportDefinition.teams, [generatedTeam](const std::string_view& team) { return generatedTeam == team; }));
}

TEST_F(EsportTest, shouldGenerateLeague)
TEST_P(EsportTest, shouldGenerateLeague)
{
const auto locale = GetParam();

Expand All @@ -63,7 +63,7 @@ TEST_F(EsportTest, shouldGenerateLeague)
{ return generatedLeague == league; }));
}

TEST_F(EsportTest, shouldGenerateEvent)
TEST_P(EsportTest, shouldGenerateEvent)
{
const auto locale = GetParam();

Expand All @@ -75,7 +75,7 @@ TEST_F(EsportTest, shouldGenerateEvent)
{ return generatedEvent == event; }));
}

TEST_F(EsportTest, shouldGenerateGame)
TEST_P(EsportTest, shouldGenerateGame)
{
const auto locale = GetParam();

Expand Down

0 comments on commit 143fa3a

Please sign in to comment.