Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on #2042 remove duplicates #2048

Merged
merged 5 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified src/Db/TemplateDB/PKSimTemplateDBSystem.templateDbSystem
Binary file not shown.
10 changes: 2 additions & 8 deletions tests/PKSim.Tests/IntegrationTests/TemplateTaskQuerySpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,16 +129,10 @@ public void all_protocol_templates_should_be_created_with_at_least_version_7_3()
public void system_database_should_contain_expected_number_of_templates()
{
_individuals.Count.ShouldBeEqualTo(0);
_compounds.Count.ShouldBeEqualTo(24);
_compounds.Count.ShouldBeEqualTo(0);
_formulations.Count.ShouldBeEqualTo(1);
_protocols.Count.ShouldBeEqualTo(2);
}

[Observation]
public void system_database_should_contain_new_templates()
{
_compounds.FindByName("Digoxin").ShouldNotBeNull();
}
}

public class When_saving_a_building_block_to_the_database : concern_for_TemplateTaskQuery
Expand Down Expand Up @@ -248,7 +242,7 @@ public override void GlobalContext()
}

[Observation]
public void should_be_able_to_load_the_template_and_delete_the_referece()
public void should_be_able_to_load_the_template_and_delete_the_reference()
{
sut.LoadTemplateAsync<Compound>(_template).ShouldNotBeNull();
sut.Exists(TemplateDatabaseType.User, _metabolite.Name, TemplateType.Compound).ShouldBeFalse();
Expand Down