From 8157c4df13086c2fff0a10d05a6d07bee5961b01 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Thu, 18 Jul 2019 10:49:47 -0700 Subject: [PATCH 1/3] Added SPOSite Classic test --- Tests/Integration/O365Integration.Master.Tests.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Tests/Integration/O365Integration.Master.Tests.ps1 b/Tests/Integration/O365Integration.Master.Tests.ps1 index 6bb1f68e17..aa7220d3fc 100644 --- a/Tests/Integration/O365Integration.Master.Tests.ps1 +++ b/Tests/Integration/O365Integration.Master.Tests.ps1 @@ -94,6 +94,16 @@ Configuration Master DependsOn = "[O365User]JohnSmith" } + SPOSite ClassicSite + { + Name = "Classic Site" + Url = "https://o365dsc.sharepoint.com/sites/Classic" + Owner = "adminnonMFA@o365dsc.onmicrosoft.com" + Template = "STS#0" + GlobalAdminAccount = $GlobalAdmin + Ensure = "Present" + } + TeamsTeam TeamAlpha { DisplayName = "Alpha Team" From 266757b30018215d1e8029c3702f31e4e6746f73 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Thu, 18 Jul 2019 10:54:20 -0700 Subject: [PATCH 2/3] Update O365Integration.Master.Tests.ps1 --- Tests/Integration/O365Integration.Master.Tests.ps1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Tests/Integration/O365Integration.Master.Tests.ps1 b/Tests/Integration/O365Integration.Master.Tests.ps1 index aa7220d3fc..d5e08092b6 100644 --- a/Tests/Integration/O365Integration.Master.Tests.ps1 +++ b/Tests/Integration/O365Integration.Master.Tests.ps1 @@ -100,6 +100,18 @@ Configuration Master Url = "https://o365dsc.sharepoint.com/sites/Classic" Owner = "adminnonMFA@o365dsc.onmicrosoft.com" Template = "STS#0" + CentralAdminUrl = "https://o365dsc-admin.sharepoint.com" + GlobalAdminAccount = $GlobalAdmin + Ensure = "Present" + } + + SPOSite ModernSite + { + Name = "Modern Site" + Url = "https://o365dsc.sharepoint.com/sites/Modern" + Owner = "admin@o365dsc.onmicrosoft.com" + Template = "STS#3" + CentralAdminUrl = "https://o365dsc-admin.sharepoint.com" GlobalAdminAccount = $GlobalAdmin Ensure = "Present" } From 42b5f248e57d9088d112db1a83f62079d1327768 Mon Sep 17 00:00:00 2001 From: Nik Charlebois Date: Thu, 18 Jul 2019 11:46:39 -0700 Subject: [PATCH 3/3] Update O365Integration.Master.Tests.ps1 --- Tests/Integration/O365Integration.Master.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Integration/O365Integration.Master.Tests.ps1 b/Tests/Integration/O365Integration.Master.Tests.ps1 index d5e08092b6..bea8d2d9d0 100644 --- a/Tests/Integration/O365Integration.Master.Tests.ps1 +++ b/Tests/Integration/O365Integration.Master.Tests.ps1 @@ -96,7 +96,7 @@ Configuration Master SPOSite ClassicSite { - Name = "Classic Site" + Title = "Classic Site" Url = "https://o365dsc.sharepoint.com/sites/Classic" Owner = "adminnonMFA@o365dsc.onmicrosoft.com" Template = "STS#0" @@ -107,7 +107,7 @@ Configuration Master SPOSite ModernSite { - Name = "Modern Site" + Title = "Modern Site" Url = "https://o365dsc.sharepoint.com/sites/Modern" Owner = "admin@o365dsc.onmicrosoft.com" Template = "STS#3"