Skip to content

Commit

Permalink
feat: add reeed to sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaKeks committed Jan 13, 2024
1 parent 81f339b commit 89b43df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions database/migrations/99999999999999_sample_data.up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ INSERT
VALUES
(234537517, "neon", "127.0.0.1");

INSERT
IGNORE INTO Players(`steam_id`, `name`, `last_known_ip_address`)
VALUES
(1107436699, "Reeed", "127.0.0.1");

INSERT
IGNORE INTO Maps (`name`, `workshop_id`, `checksum`)
VALUES
Expand Down
2 changes: 1 addition & 1 deletion src/tests/players.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async fn get(ctx: Context) {
.json::<Vec<Player>>()
.await?;

ensure!(all_players.len() == 16, "incorrect amount of players");
ensure!(all_players.len() == 17, "incorrect amount of players");

let has_ibrahizy = all_players
.iter()
Expand Down

0 comments on commit 89b43df

Please sign in to comment.