Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit f61daca

Browse files
committed
fix build errors
1 parent 64fe097 commit f61daca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/ServiceStack.OrmLite.Tests/Support/ArtistTrackTestBase.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public class Artist
1111

1212
[Reference]
1313
public List<Track> Tracks { get; set; }
14-
public override string ToString() => Name;
1514
}
1615

1716
public class Track
@@ -22,12 +21,11 @@ public class Track
2221
public int ArtistId { get; set; }
2322
public string Album { get; set; }
2423
public int Year { get; set; }
25-
public override string ToString() => Name;
2624
}
2725

2826
public class ArtistTrackTestBase : OrmLiteTestBase
2927
{
30-
static readonly Artist[] Artists = {
28+
static readonly Artist[] Artists = new [] {
3129
new Artist {
3230
Id = 1, Name = "Faith No More",
3331
Tracks = new List<Track> {

0 commit comments

Comments
 (0)