Bjarke Berg
c8669b18c2
Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-09-04 14:30:48 +02:00
Shannon
855a58a3cc
fix tests
2020-09-04 01:40:46 +10:00
Shannon
1c83c68862
Fixes integration tests localization text
2020-09-04 01:30:47 +10:00
Shannon
7c78b5b34f
Updates CoreRuntime with better dependencies so we can disable caches, fixes integration test to run multiple callbacks registered for TearDown, ensure we TearDown the runtime.
2020-09-04 00:27:43 +10:00
Andy Butland
14404f2720
Changed singleton created dependencies in composition root to use IOptionsMonitor.
2020-09-03 12:52:47 +02:00
Andy Butland
b87630250b
Removed unused private field and constructor variable for configuration global settings from UmbracoVersion.
...
Updated singleton created instances in CreateCompositionRoot to accept IOptions based parameters for configuration.
2020-09-03 11:36:57 +02:00
Shannon
a5772f10e1
comments
2020-09-02 18:21:51 +10:00
Shannon
b5d2adaf25
remove explicit
2020-09-02 18:20:30 +10:00
Shannon
27586d9f19
removes proj ref that wasn't needed
2020-09-02 18:19:27 +10:00
Shannon
f84a93ae20
Adds IUmbracoBuilder to build the config so it's easier to split apart, ensures background tasks don't run in integration tests, uses a custom CoreRuntime to ensure we use SimpleMainDom, re-wires the UmbracoWebApplicationFactory so that duplicate Hosts are not running at the same time, fixes issues with overriding/shadowing, uses RAMDirectory in lucene for tests, fixes CoreRuntime's events that we're moved incorrectly and not backwards compat, adds new real non static events which we can use in integration tests to install the DB before the runtime state is calculated
2020-09-02 18:10:29 +10:00
Andy Butland
f1bda37a64
Updates following PR review.
2020-09-01 18:10:12 +02:00
Bjarke Berg
edd457c24b
Force Examine to run in sync for integration tests
2020-08-31 11:31:56 +02:00
Andy Butland
1d124ea0ac
Merge branch 'netcore/netcore' into feature/8651-config-options-patten
...
# Conflicts:
# src/Umbraco.Tests.Integration/Persistence/Repositories/DictionaryRepositoryTest.cs
# src/Umbraco.Tests.Integration/Persistence/Repositories/LanguageRepositoryTest.cs
# src/Umbraco.Tests.Integration/Persistence/Repositories/TemplateRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
# src/Umbraco.Tests/Services/ContentServiceTests.cs
# src/Umbraco.Tests/Services/UserServiceTests.cs
2020-08-27 18:58:12 +02:00
Andy Butland
4e222f103e
Reintroduced legacy config into CoreRuntime to support remaining use of Current.Configs (e.g. in UserInvite)
2020-08-26 18:21:09 +02:00
Andy Butland
64f8752587
Removed introduced second constructors for IOptions based depenedencies and used Options.Create instead.
2020-08-26 11:58:44 +02:00
Andy Butland
8fd59d546e
Fixed failing tests.
2020-08-26 07:55:23 +02:00
Andy Butland
8241643183
Resolved various failing tests.
2020-08-25 12:30:43 +02:00
Andy Butland
967f0be705
Aligned property names in code with those in configuration.
2020-08-25 10:45:54 +02:00
Andy Butland
adf687579c
Restored Umbraco.Tests.IntegrationTests (some failures remaining)
2020-08-24 12:34:37 +02:00
Andy Butland
89b725ef28
Reverted non netcore related project amends in order to limit changes to those necessary for the netcore executable call stack.
2020-08-23 14:05:35 +02:00
Andy Butland
510bd92e78
Amended injection of further settings to use IOptionsSnapshot.
2020-08-21 14:52:47 +01:00
Andy Butland
e3a44c6717
Moved configuration setting POCOs into Umbraco.Core and adjusted references.
...
Amended injection of some settings to use IOptionsSnapshot.
2020-08-20 22:18:50 +01:00
Elitsa Marinovska
4edf002dd0
Migrating old tests to .net core test projects
2020-08-18 16:10:05 +02:00
Elitsa Marinovska
4f5fb0c9c3
Changes necessary for migrating old tests
2020-08-18 15:53:25 +02:00
Bjarke Berg
9ae878a185
Hardcode verion 9 in text, and change assembly versions to 0.5.0
2020-08-17 09:34:27 +02:00
Bjarke Berg
3c2f2ac0b3
Netcore: Let build.ps1 create the dotnet new templates ( #8591 )
...
* Creates the Umbraco.Templates.nuspec on build
* Update nuspec to match nuget packages
* Updated namespace of Program.cs and Startup.cs and replace these with the project name in templates
* Bugfixes for sqlce
* Simplified template to have one template with --UseSqlCe as option
* Update build/build.ps1
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com >
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com >
2020-08-11 08:28:16 +02:00
Shannon Deminick
2aae974281
Merge pull request #8394 from umbraco/netcore/feature/fix-integration-tests
...
Netcore: More tests migrated..
2020-08-11 11:54:37 +10:00
Bjarke Berg
8322151426
Fix test issue. Now testserver tests always is executed in debugmode
2020-08-10 14:10:08 +02:00
Bjarke Berg
8dea65286b
Fix test. Asserting on something irrelevant
2020-08-10 13:21:44 +02:00
Bjarke Berg
c57c42d2ec
Fixes merge conflicts
2020-08-07 14:00:56 +02:00
Bjarke Berg
cc6cc1e314
Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests
2020-07-09 11:08:26 +02:00
Bjarke Berg
1f3d2b13d3
Cleanup test by reusing MockedContentTypes
2020-07-09 11:02:28 +02:00
Bjarke Berg
711e2306e0
Cleanup
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-07-07 15:02:53 +02:00
Bjarke Berg
254921e24c
inserted explicit on failing tests.. Still need to investigate
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-07-07 14:10:00 +02:00
Bjarke Berg
4993e99f4d
Merge remote-tracking branch 'origin/netcore/feature/fix-integration-tests' into netcore/feature/fix-integration-tests
2020-07-07 13:26:31 +02:00
Bjarke Berg
a67629e9c0
Merge remote-tracking branch 'origin/netcore/feature/remaining-backoffice-controllers' into netcore/feature/fix-integration-tests
2020-07-07 13:25:58 +02:00
Bjarke Berg
f3614d51fa
Merge remote-tracking branch 'origin/netcore/feature/contentcontroller_and_related' into netcore/feature/remaining-backoffice-controllers
...
# Conflicts:
# src/Umbraco.Web.BackOffice/Filters/UmbracoAuthorizeFilter.cs
2020-07-07 13:17:08 +02:00
Bjarke Berg
7e90db5b30
Cleanup based on review
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-07-06 13:01:25 +02:00
Bjarke Berg
8400b53f70
Cleanup based on review
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-07-06 12:55:23 +02:00
Bjarke Berg
aac8cd5423
Clean up + migrated AuditServiceTests
2020-07-01 17:42:39 +02:00
Bjarke Berg
7b546e6cee
Attempts to fix issue
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-30 20:11:39 +02:00
Bjarke Berg
984e660bec
Possible fix for test db issue
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-30 13:02:32 +02:00
Bjarke Berg
40470099e9
Possible fix for test db issue
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-30 11:22:44 +02:00
Bjarke Berg
081795c192
Possible fix for test db issue
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-30 10:22:01 +02:00
Bjarke Berg
aedac5a2b4
Added test to TemplateQueryController.GetContentTypes to ensure camelcase
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-29 14:22:58 +02:00
Bjarke Berg
91885e6557
Migrated mapper tests
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-29 10:44:46 +02:00
Bjarke Berg
6d993eb63b
Cleanup
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-26 13:58:15 +02:00
Bjarke Berg
f9d5acee84
Added test
2020-06-25 11:22:59 +02:00
Bjarke Berg
aaccaef6af
Started on AutoMoqDataAttribute
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-24 22:00:27 +02:00
Bjarke Berg
540195c597
Cleanup and fixed more tests
...
Signed-off-by: Bjarke Berg <mail@bergmania.dk >
2020-06-22 15:01:55 +02:00