aboutsummaryrefslogtreecommitdiff
path: root/wrms_test.go
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-07-31 18:07:41 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-07-31 18:07:41 +0200
commit103e473f200b76db20ef8d9af3c98db2bfb2aa29 (patch)
tree7f534e839ddd09021186f05a89903c59007c0ed3 /wrms_test.go
parent8205d426e9681abc470dcb2e49344246a01b2e49 (diff)
downloadWRMS-103e473f200b76db20ef8d9af3c98db2bfb2aa29.tar.gz
WRMS-103e473f200b76db20ef8d9af3c98db2bfb2aa29.zip
make time bonus config value usable through yaml
Diffstat (limited to 'wrms_test.go')
-rw-r--r--wrms_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/wrms_test.go b/wrms_test.go
index bfb620d..7d7942c 100644
--- a/wrms_test.go
+++ b/wrms_test.go
@@ -142,7 +142,7 @@ func TestFlipVote(t *testing.T) {
func TestTimeBonus(t *testing.T) {
wrms := Wrms{Player: &mockPlayer{}}
- wrms.Config.timeBonus = 0.1
+ wrms.Config.TimeBonus = 0.1
songs := []*Song{
NewDummySong("song1", "snfmt"),
NewDummySong("song2", "snfmt"),