HEAVY: finish music service migration, tidy up services, more tests
This commit is contained in:
parent
9e311df462
commit
90a671982c
47 changed files with 2698 additions and 902 deletions
|
|
@ -1,11 +1,12 @@
|
|||
package model
|
||||
package model_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"arimelody-web/model"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_Track_DescriptionHTML(t *testing.T) {
|
||||
track := Track{
|
||||
track := model.Track{
|
||||
Description: "this is\na test\n<strong>description!</strong>",
|
||||
}
|
||||
|
||||
|
|
@ -19,7 +20,7 @@ func Test_Track_DescriptionHTML(t *testing.T) {
|
|||
}
|
||||
|
||||
func Test_Track_LyricsHTML(t *testing.T) {
|
||||
track := Track{
|
||||
track := model.Track{
|
||||
Lyrics: "these are\ntest\n<strong>lyrics!</strong>",
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue