Removed 'submit' parameter

This commit is contained in:
Deluan
2016-03-16 20:45:08 -04:00
parent 4748ce142f
commit f6866f23a0
3 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ func TestScrobbler(t *testing.T) {
Convey("When I scrobble an existing song", func() {
now := time.Now()
mf, err := scrobbler.Register("2", now, true)
mf, err := scrobbler.Register("2", now)
Convey("Then I get the scrobbled song back", func() {
So(err, ShouldBeNil)
@@ -42,7 +42,7 @@ func TestScrobbler(t *testing.T) {
})
Convey("When the ID is not in the DB", func() {
_, err := scrobbler.Register("3", time.Now(), true)
_, err := scrobbler.Register("3", time.Now())
Convey("Then I receive an error", func() {
So(err, ShouldNotBeNil)