/// <summary> /// Sets up & initializes the tests. /// </summary> protected override void Init() { using (var api = new Api(GetDb(), storage)) { Piranha.App.Init(api); Piranha.App.Fields.Register <MyFirstField>(); fields.Register <MyFirstField>(); fields.Register <MyThirdField>(); } }