File tree Expand file tree Collapse file tree
src/Tests/SmartStore.Data.Tests/Forums Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11using System ;
2+ using NUnit . Framework ;
23using SmartStore . Core . Domain . Customers ;
34using SmartStore . Core . Domain . Forums ;
5+ using SmartStore . Data . Tests . Stores ;
46using SmartStore . Tests ;
5- using NUnit . Framework ;
6- using SmartStore . Core . Domain . Stores ;
77
88namespace SmartStore . Data . Tests . Forums
99{
@@ -13,7 +13,7 @@ public class PrivateMessagePersistenceTests : PersistenceTest
1313 [ Test ]
1414 public void Can_save_and_load_privatemessage ( )
1515 {
16- var store = GetTestStore ( ) ;
16+ var store = StorePersistenceTests . GetTestStore ( ) ;
1717 var storeFromDb = SaveAndLoadEntity ( store ) ;
1818 storeFromDb . ShouldNotBeNull ( ) ;
1919
@@ -59,15 +59,5 @@ protected Customer GetTestCustomer()
5959 LastActivityDateUtc = new DateTime ( 2010 , 01 , 02 )
6060 } ;
6161 }
62-
63- protected Store GetTestStore ( )
64- {
65- return new Store
66- {
67- Name = "Store 1" ,
68- Url = "http://www.test.com" ,
69- DisplayOrder = 1
70- } ;
71- }
7262 }
7363}
You can’t perform that action at this time.
0 commit comments