Files
sendico/api/pkg/model/chainasset_test.go
Stephan D e77d1ab793 linting
2026-03-10 12:31:09 +01:00

21 lines
467 B
Go

package model
import (
"testing"
"github.com/tech/sendico/pkg/db/storable"
"github.com/tech/sendico/pkg/mservice"
)
func TestChainAssetDescriptionImplementsStorable(t *testing.T) {
var _ storable.Storable = (*ChainAssetDescription)(nil)
}
func TestChainAssetDescriptionCollection(t *testing.T) {
var desc ChainAssetDescription
want := mservice.ChainAssets
if got := desc.Collection(); got != want {
t.Fatalf("Collection() = %q, want %q", got, want)
}
}