From b4ef6603f9fa6feba9ff72e66919f5d66a214386 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Thu, 7 Dec 2023 15:34:38 +0300
Subject: [PATCH] chore(deps): Update .net deps to v4 (major) (#113)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [NUnit](https://nunit.org/)
([source](https://togithub.com/nunit/nunit)) | `3.14.0` -> `4.0.1` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/NUnit/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/NUnit/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/NUnit/3.14.0/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/NUnit/3.14.0/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [cake.tool](https://cakebuild.net/)
([source](https://togithub.com/cake-build/cake)) | `3.2.0` -> `4.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/nuget/cake.tool/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/cake.tool/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/cake.tool/3.2.0/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/cake.tool/3.2.0/4.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
nunit/nunit (NUnit)
### [`v4.0.1`](https://togithub.com/nunit/nunit/releases/tag/v4.0.1):
NUnit 4.0.1
Patch release to fix windows targets
See [release
notes](https://docs.nunit.org/articles/nunit/release-notes/framework.html#nunit-401---december-2-2023)
and
See [migration
guide](https://docs.nunit.org/articles/nunit/release-notes/Nunit4.0-MigrationGuide.html)
###
[`v4.0.0`](https://togithub.com/nunit/nunit/blob/HEAD/CHANGES.md#NUnit-400---November-26-2023)
All changes, see [release
notes](https://docs.nunit.org/articles/nunit/release-notes/framework.html#nunit-400)
cake-build/cake (cake.tool)
###
[`v4.0.0`](https://togithub.com/cake-build/cake/blob/HEAD/ReleaseNotes.md#New-in-400-Released-20231118)
- 4266 Update LatestPotentialBreakingChange to 4.0.0.
- 4132 Add File APIs for setting timestamps (creation time, last write
time, last access time).
- 4250 Update System.Collections.Immutable to 8.0.0.
- 4260 Unzip alias should support overwrite files.
- 4251 Update System.Reflection.Metadata 8.0.0.
- 4249 Update Microsoft.Extensions.DependencyInjection to 8.0.0.
- 4197 Execution of Cake script fails if an addin defines an alias that
uses nullable reference types in its signature.
- 4150 Cake script is contributing unactionable diagnostics in VS Code
Problems pane.
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cerbos/cerbos-sdk-net).
---------
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: OÄŸuzhan Durgun
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: OÄŸuzhan Durgun
---
dotnet-tools.json | 2 +-
src/Sdk.UnitTests/Cerbos/Sdk/UnitTests/CerbosClientTest.cs | 6 +++---
src/Sdk.UnitTests/Sdk.UnitTests.csproj | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dotnet-tools.json b/dotnet-tools.json
index c33ff7c..da200cd 100644
--- a/dotnet-tools.json
+++ b/dotnet-tools.json
@@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
- "version": "3.2.0",
+ "version": "4.0.0",
"commands": [
"dotnet-cake"
]
diff --git a/src/Sdk.UnitTests/Cerbos/Sdk/UnitTests/CerbosClientTest.cs b/src/Sdk.UnitTests/Cerbos/Sdk/UnitTests/CerbosClientTest.cs
index 04a1331..59ad9d0 100644
--- a/src/Sdk.UnitTests/Cerbos/Sdk/UnitTests/CerbosClientTest.cs
+++ b/src/Sdk.UnitTests/Cerbos/Sdk/UnitTests/CerbosClientTest.cs
@@ -225,15 +225,15 @@ public void PlanResources()
PlanResourcesFilter.Types.Expression.Types.Operand cond = have.Filter.Condition;
PlanResourcesFilter.Types.Expression expr = cond.Expression;
- Assert.NotNull(expr);
+ Assert.That(expr, !Is.Null);
Assert.That(expr.Operator, Is.EqualTo("and"));
PlanResourcesFilter.Types.Expression argExpr = expr.Operands[0].Expression;
- Assert.NotNull(argExpr);
+ Assert.That(argExpr, !Is.Null);
Assert.That(argExpr.Operator, Is.EqualTo("eq"));
PlanResourcesFilter.Types.Expression argExpr1 = expr.Operands[1].Expression;
- Assert.NotNull(argExpr1);
+ Assert.That(argExpr1, !Is.Null);
Assert.That(argExpr1.Operator, Is.EqualTo("eq"));
}
diff --git a/src/Sdk.UnitTests/Sdk.UnitTests.csproj b/src/Sdk.UnitTests/Sdk.UnitTests.csproj
index a5a40a3..3be8f32 100644
--- a/src/Sdk.UnitTests/Sdk.UnitTests.csproj
+++ b/src/Sdk.UnitTests/Sdk.UnitTests.csproj
@@ -8,7 +8,7 @@
-
+