Configure
Configuration and testing instructions.
Scheduled task deleting old wish lists
Wish lists of anonymous users should be deleted after a certain amount of time, for example a few months. This is achieved by using a scheduled task that can be configured in the scheduledTasks section of the web.config file of your solution.
Version 1:
<scheduledTask type="Litium.Studio.AddOns.WishList.CleanupScheduler, Litium.Studio.AddOns.WishList" startTime="00:00" interval="1d" parameters="Days=180" />
Version 2 and 3:
<scheduledTask type="Litium.AddOns.WishList.CleanupScheduler, Litium.AddOns.WishList" startTime="00:00" interval="1d" parameters="Days=180" />
Running xUnit tests
Pre-requisites: xUnit
- Copy the Litium.Studio.AddOns.WishList.Test project and \Src\Configurations folder to your solution src location.
- Fix the references. Make sure the reference to the Litium.Studio.AddOns.WishList is correct as well.
- Rename the \Src\Configurations\app.config.build to app.config and configure the connection string and files folder to your solution test database and files folder. Alternatively, copy your web.config, rename it to app.config and place it in the \Src\Configurations\ folder. Note that the test articles and test websites will be added to the database used in test cases.
You can now run the xUnit tests.