Commit Graph

226 Commits

Author SHA1 Message Date
Bjarke Berg
05610b56eb Fix tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 19:45:46 +02:00
Bjarke Berg
835b04273f Migrated remaining *TreeController's
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
2020-06-10 19:22:25 +02:00
Shannon
e47f81efdc Gettting password formats and hashing sorted, ensuring the password format on the user is used 2020-05-27 13:48:26 +10:00
Bjarke Berg
aa63ce5ed9 Merge branch 'netcore/dev' into netcore/netcore
# Conflicts:
#	src/Umbraco.Tests/Web/Controllers/AuthenticationControllerTests.cs
#	src/Umbraco.Tests/Web/Controllers/UsersControllerTests.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/UsersController.cs
2020-05-20 12:43:13 +02:00
Bjarke Berg
2b4dfbca9d #8142 - Small cleanup, and bugfix 2020-05-20 11:42:23 +02:00
Elitsa Marinovska
ad31db9f4a Adding DeliveryMethod option which we make use of in EmailSender.cs 2020-05-20 00:21:45 +02:00
Bjarke Berg
c7a9f56295 AB6455 - Moved SurfaceControllerTests to unit tests 2020-05-15 10:05:29 +02:00
Bjarke Berg
8f7c022f2d AB#6233 - Handle ApplicationUrl 2020-05-07 09:34:16 +02:00
Bjarke Berg
ecc596c483 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core
# Conflicts:
#	src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs
2020-05-05 12:15:53 +02:00
Bjarke Berg
31cda96ba5 Merge pull request #8008 from electricsheep/feature/netcore-misc-unit-tests
Netcore: #7898 Migrate Misc tests to new test project
2020-05-04 10:20:05 +02:00
Bjarke Berg
da1e83c0d1 AB#6233 - Added application url on IHostingEnvironment. Still need a way to figure out how to get this value 2020-05-01 08:26:05 +02:00
Bjarke Berg
e5224b4fe1 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB6233-install-steps-in-dotnet-core 2020-04-29 08:23:40 +02:00
Bjarke Berg
e6c3c5e36e Merge pull request #7977 from AndyButland/feature/7898-netcore-model-unit-tests-4
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-29 08:22:19 +02:00
Bjarke Berg
64dfa009f5 #6233 - version in config removed 2020-04-28 12:31:15 +02:00
Andy Butland
1f4030f910 Made more use of defaults in builder based unit tests. 2020-04-28 12:06:01 +02:00
Ollie Philpott
c567b11c81 Move builder to correct folder 2020-04-23 15:36:48 +01:00
Ollie Philpott
b056719cdc Move XmlHelper tests and add builder 2020-04-23 15:01:17 +01:00
Emma Garland
c2eb3b0480 Merge branch 'netcore/dev' of https://github.com/umbraco/Umbraco-CMS into feature/netcore-model-unit-tests-settings 2020-04-22 13:53:41 +01:00
Shannon
46e14f7692 Fixes up all logging. Configures serilog logging to replace MS logging just like serilog does, adds new ILoggerConfiguration so we aren't hard coding things, dynamically adds enrichers when the container is ready to resolve services. 2020-04-22 14:23:56 +10:00
Andy Butland
e561784057 Migrated DictionaryTranslationBuilders into new unit test project and builder format. 2020-04-19 09:39:30 +02:00
Andy Butland
7782457ae5 Created extension methods for creating standard test content types. 2020-04-19 09:21:36 +02:00
Andy Butland
9d2bfdc428 Migrated content, media and member type tests into new unit tests project and builder pattern. 2020-04-19 09:05:09 +02:00
Andy Butland
12b9507007 Aligned user group builder with other builders. 2020-04-18 10:04:28 +02:00
Andy Butland
d334fef4b6 Migrated DocumentEntitySlim tests into new project and builder pattern. 2020-04-18 08:57:14 +02:00
Andy Butland
068100cc8e Removed resetting of unit test builders. 2020-04-16 11:39:30 +02:00
Emma Garland
0c77450222 Specified hostingenvironment and databaseproviders after unit tests not picking up Umbraco.Core namespaces
Migrated into integrations project configurations, as files are being read
2020-04-14 16:55:54 +01:00
Andy Butland
597489fba2 Added missing builder property values when building macro properties. 2020-04-13 19:33:39 +02:00
Andy Butland
a9a8cb7f6f Migrated macro unit tests to new project and builder pattern. 2020-04-13 19:22:31 +02:00
Andy Butland
f961916245 Introduced a reset of the unit test builders to support re-use within a test. 2020-04-12 09:47:44 +02:00
Andy Butland
a5aa1e19a5 Fixed failing integration tests following amends to UserBuilder. 2020-04-11 18:37:10 +02:00
Andy Butland
3085ce52f9 Migrated parth validation tests to new project and builder pattern. 2020-04-11 17:21:27 +02:00
Andy Butland
b3fd94e023 Migrated user tests into new project and builder pattern. 2020-04-11 16:35:33 +02:00
Andy Butland
766826f462 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/MemberTypeBuilder.cs
2020-04-10 17:11:41 +02:00
Andy Butland
650126cfc8 Amended PropertyBuilder to return IProperty and removed some unnecessary default properties from built test class. 2020-04-10 17:01:47 +02:00
Andy Butland
d9f9a166a6 Migrated property, property type and property group tests into new project and builder pattern. 2020-04-04 16:49:01 +02:00
Andy Butland
f10971efaa Migrated relation tests into new project and builder pattern. 2020-04-04 12:21:41 +02:00
Andy Butland
58a1bc0a8f Migrated stylesheet and template tests into new project and builder pattern. 2020-04-04 09:32:23 +02:00
Shannon
d711796c59 Fixing tests 2020-04-03 17:05:50 +11:00
Shannon
9d320f79da New IRuntimeHash to fix type scanning in netcore in order to look at the right runtime bits to creaet a hash for 2020-04-03 01:08:52 +11:00
Bjarke Berg
01957b7c64 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/integration-tests-running 2020-04-02 10:01:57 +02:00
Bjarke Berg
944042ad61 Updated builders 2020-04-01 12:07:54 +02:00
Bjarke Berg
9e38ed045f Aligned builders 2020-04-01 08:18:56 +02:00
Andy Butland
919861bf36 Separated member and member group builder and model unit tests, and other minor updates from PR review. 2020-03-31 17:37:34 +02:00
Andy Butland
374147d5e8 Merge branch 'netcore/dev' into netcore/unit-test-migration-member-models 2020-03-31 16:35:09 +02:00
Shannon
4ee3cf02d9 Changes integration tests working folder, hopefully this works on azure devops 2020-03-31 18:01:27 +11:00
Shannon
8535d0fbe3 Cleans up IIOHelper and removes methods/props that shouldn't exist, changes test helper to use WorkingDirectory fixes some usages of MapPath 2020-03-31 17:27:51 +11:00
Shannon
7617027c49 Moves most of the UserRepositoryTest 2020-03-30 21:53:30 +11:00
Shannon
3757f722a0 Gets first integration test moved, moves the test options to the common project, ensures that the LocalDb pool is updated on each test 2020-03-30 20:55:13 +11:00
Andy Butland
dface90de7 Migrated member unit tests to new unit test project using builder pattern. 2020-03-29 16:17:06 +02:00
Andy Butland
50631c2b28 Migrated member group unit tests to new unit test project using builder pattern. 2020-03-28 20:54:10 +01:00