James Tombleson
9f3a6323a6
* gave api access to the db project * added db models * working on rss extraction and meta extraction * test project to debug rsswatcherjob * added new configs for the project * new interface to define collectors * basic rss extraction and article details are now exposed * tests updated for rss pull * starting to get dapper working. Query works but insert seems to have a value issue * removed dapper from services * added some basic tests for db calls
19 lines
399 B
C#
19 lines
399 B
C#
using Newsbot.Collector.Database.Repositories;
|
|
using Newsbot.Collector.Domain.Models;
|
|
|
|
namespace Newsbot.Collector.Tests.Tables;
|
|
|
|
public class SettingsTableTests
|
|
{
|
|
[Fact]
|
|
public void New()
|
|
{
|
|
var client = new SettingsTable("");
|
|
client.New(new SettingModel
|
|
{
|
|
Key = "Unit Testing",
|
|
Value = "Unit",
|
|
Options = ""
|
|
});
|
|
}
|
|
} |