Skip to content

Commit

Permalink
add: Output type to tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrIOSX committed Jun 8, 2024
1 parent 2d9a1a1 commit bb1df11
Show file tree
Hide file tree
Showing 52 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion source/tests/Test-AdministrativeAccountCompliance.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
function Test-AdministrativeAccountCompliance {
[CmdletBinding()]
[OutputType([CISAuditResult])]
[OutputType([CISAuditResult])]
param (
# Parameters can be added if needed
)
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-AntiPhishingPolicy.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-AntiPhishingPolicy {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-AuditDisabledFalse.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-AuditDisabledFalse {
[CmdletBinding()]
[OutputType([CISAuditResult])]
# Aligned
param (
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-AuditLogSearch.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-AuditLogSearch {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-BlockChannelEmails.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-BlockChannelEmails {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-BlockMailForwarding.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-BlockMailForwarding {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Parameters can be added if needed
)
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-BlockSharedMailboxSignIn.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-BlockSharedMailboxSignIn {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-CommonAttachmentFilter.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-CommonAttachmentFilter {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-CustomerLockbox.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-CustomerLockbox {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-DialInBypassLobby.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-DialInBypassLobby {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-DisallowInfectedFilesDownload.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-DisallowInfectedFilesDownload {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-EnableDKIM.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-EnableDKIM {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ExternalNoControl.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ExternalNoControl {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ExternalSharingCalendars.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ExternalSharingCalendars {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-GlobalAdminsCount.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-GlobalAdminsCount {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-GuestAccessExpiration.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-GuestAccessExpiration {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-GuestUsersBiweeklyReview.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-GuestUsersBiweeklyReview {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-IdentifyExternalEmail.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-IdentifyExternalEmail {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-LinkSharingRestrictions.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-LinkSharingRestrictions {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-MailTipsEnabled.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-MailTipsEnabled {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-MailboxAuditingE3.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-MailboxAuditingE3 {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Parameters can be added if needed
)
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-MailboxAuditingE5.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-MailboxAuditingE5 {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Parameters can be added if needed
)
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ManagedApprovedPublicGroups.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ManagedApprovedPublicGroups {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-MeetingChatNoAnonymous.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-MeetingChatNoAnonymous {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ModernAuthExchangeOnline.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ModernAuthExchangeOnline {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ModernAuthSharePoint.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ModernAuthSharePoint {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-NoAnonymousMeetingJoin.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-NoAnonymousMeetingJoin {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-NoAnonymousMeetingStart.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-NoAnonymousMeetingStart {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-NoWhitelistDomains.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-NoWhitelistDomains {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-NotifyMalwareInternal.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-NotifyMalwareInternal {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-OneDriveContentRestrictions.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-OneDriveContentRestrictions {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-OneDriveSyncRestrictions.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-OneDriveSyncRestrictions {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-OrgOnlyBypassLobby.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-OrgOnlyBypassLobby {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-OrganizersPresent.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-OrganizersPresent {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-PasswordHashSync.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-PasswordHashSync {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-PasswordNeverExpirePolicy.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-PasswordNeverExpirePolicy {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
[Parameter(Mandatory)]
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ReauthWithCode.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ReauthWithCode {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-ReportSecurityInTeams.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-ReportSecurityInTeams {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-RestrictCustomScripts.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-RestrictCustomScripts {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Define your parameters here if needed
)
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-RestrictExternalSharing.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-RestrictExternalSharing {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-RestrictOutlookAddins.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-RestrictOutlookAddins {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters could include credentials or other necessary data
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-RestrictStorageProvidersOutlook.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-RestrictStorageProvidersOutlook {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-RestrictTenantCreation.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-RestrictTenantCreation {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SafeAttachmentsPolicy.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SafeAttachmentsPolicy {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SafeAttachmentsTeams.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SafeAttachmentsTeams {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SafeLinksOfficeApps.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SafeLinksOfficeApps {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SharePointAADB2B.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SharePointAADB2B {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SharePointExternalSharingDomains.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SharePointExternalSharingDomains {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SharePointGuestsItemSharing.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SharePointGuestsItemSharing {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Define your parameters here
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-SpamPolicyAdminNotify.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-SpamPolicyAdminNotify {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-TeamsExternalAccess.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-TeamsExternalAccess {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be defined here if needed
Expand Down
1 change: 0 additions & 1 deletion source/tests/Test-TeamsExternalFileSharing.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
function Test-TeamsExternalFileSharing {
[CmdletBinding()]
[OutputType([CISAuditResult])]
param (
# Aligned
# Parameters can be added here if needed
Expand Down

0 comments on commit bb1df11

Please sign in to comment.