Beispiel #1
0
 public void CreateAuction()
 {
     _auction.MinPrice = 1000000;
     _auction.Interval = 10;
     _auction.Expires  = Convert.ToDateTime("2014-11-05 00:00:00");
     _auction.Active   = true;
     _auction.Artwork  = _artworkRepository.GetArtworkByTitle("Unit Testing");
     //_auction.Bids = _bidRepository.GetAllBidsByAuction(_auctionRepository.GetAuctionById(1)).ToList();
     _auctionRepository.InsertAuction(_auction);
 }
Beispiel #2
0
 public void GetArtistsById()
 {
     Assert.IsNotNull(_artworkRepository.GetArtworkById(_artworkRepository.GetArtworkByTitle("Unit Testing").Id));
 }