Skip to content

Commit 7cc99c7

Browse files
committed
Fixed unit test that was not passing
1 parent ff240fb commit 7cc99c7

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

samples/FluentAssertions.AspNetCore.Mvc.Sample/project.lock.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5769,7 +5769,7 @@
57695769
]
57705770
},
57715771
"runtime.native.System.Net.Http/4.0.1": {
5772-
"sha512": "Nh0UPZx2Vifh8r+J+H2jxifZUD3sBrmolgiFWJd2yiNrxO0xTa6bAw3YwRn1VOiSen/tUXMS31ttNItCZ6lKuA==",
5772+
"sha512": "nl6ine8h0r8sctNhQScY5DYLfeeUqa21P2enQ2wlAPgDlcAoOUlLh5ygmYIEUMYMe6jVCnKwPXoOVhcPFVMAAw==",
57735773
"type": "package",
57745774
"path": "runtime.native.System.Net.Http/4.0.1",
57755775
"files": [
@@ -5781,7 +5781,7 @@
57815781
]
57825782
},
57835783
"runtime.native.System.Net.Security/4.0.1": {
5784-
"sha512": "Az6Ff6rZFb8nYGAaejFR6jr8ktt9f3e1Q/yKdw0pwHNTLaO/1eCAC9vzBoR9YAb0QeZD6fZXl1A9tRB5stpzXA==",
5784+
"sha512": "MlSclMlgE1paHcknfV9loOwEFvZz5Sw3m//Cto+gQYhDrceSXyvF7ST7KgplnGqucxYH6AOuQpD9zE3PB5ghvg==",
57855785
"type": "package",
57865786
"path": "runtime.native.System.Net.Security/4.0.1",
57875787
"files": [
@@ -8324,7 +8324,7 @@
83248324
]
83258325
},
83268326
"System.Reflection.Emit.Lightweight/4.0.1": {
8327-
"sha512": "sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==",
8327+
"sha512": "2TNd5n15PvjTHk7yHTiyh2vm6aURaHbMS8eo9VOJd/x5EDdZRDohsLaLtqXtDPkr3DFgioaepBvPiRi/w6RPQA==",
83288328
"type": "package",
83298329
"path": "System.Reflection.Emit.Lightweight/4.0.1",
83308330
"files": [
@@ -9149,7 +9149,7 @@
91499149
]
91509150
},
91519151
"System.Security.Cryptography.Cng/4.2.0": {
9152-
"sha512": "cUJ2h+ZvONDe28Szw3st5dOHdjndhJzQ2WObDEXAWRPEQBtVItVoxbXM/OEsTthl3cNn2dk2k0I3y45igCQcLw==",
9152+
"sha512": "DRU3mjP74SMNVDFLHoiIgOiGlw0X7zTPi6xn6+c4YQrGuvtUrRDSskBY4EYbmKJSqwICMLYZQUbRx2bk9yveTg==",
91539153
"type": "package",
91549154
"path": "System.Security.Cryptography.Cng/4.2.0",
91559155
"files": [
@@ -9175,7 +9175,7 @@
91759175
]
91769176
},
91779177
"System.Security.Cryptography.Csp/4.0.0": {
9178-
"sha512": "/i1Usuo4PgAqgbPNC0NjbO3jPW//BoBlTpcWFD1EHVbidH21y4c1ap5bbEMSGAXjAShhMH4abi/K8fILrnu4BQ==",
9178+
"sha512": "3JvceCa+M83ro2lyRrOTF0IZtehmJb1IuFEznX94sXbyMWioAG158j/cWapxsrikEXiFegb1ksCQX6kn9wtVwQ==",
91799179
"type": "package",
91809180
"path": "System.Security.Cryptography.Csp/4.0.0",
91819181
"files": [
@@ -9244,7 +9244,7 @@
92449244
]
92459245
},
92469246
"System.Security.Cryptography.OpenSsl/4.0.0": {
9247-
"sha512": "HUG/zNUJwEiLkoURDixzkzZdB5yGA5pQhDP93ArOpDPQMteURIGERRNzzoJlmTreLBWr5lkFSjjMSk8ySEpQMw==",
9247+
"sha512": "g+O296PHHTAF90Sh2ZrX8mVmbzQI/LgRDJMt89VEbhLq7fFt3Jd/zchUY1e4WtUi6rg0mnm6QGTidBmCesWjfA==",
92489248
"type": "package",
92499249
"path": "System.Security.Cryptography.OpenSsl/4.0.0",
92509250
"files": [

tests/FluentAssertions.AspNetCore.Mvc.Tests/project.lock.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5018,7 +5018,7 @@
50185018
]
50195019
},
50205020
"runtime.native.System.Net.Http/4.0.1": {
5021-
"sha512": "Nh0UPZx2Vifh8r+J+H2jxifZUD3sBrmolgiFWJd2yiNrxO0xTa6bAw3YwRn1VOiSen/tUXMS31ttNItCZ6lKuA==",
5021+
"sha512": "nl6ine8h0r8sctNhQScY5DYLfeeUqa21P2enQ2wlAPgDlcAoOUlLh5ygmYIEUMYMe6jVCnKwPXoOVhcPFVMAAw==",
50225022
"type": "package",
50235023
"path": "runtime.native.System.Net.Http/4.0.1",
50245024
"files": [
@@ -5030,7 +5030,7 @@
50305030
]
50315031
},
50325032
"runtime.native.System.Net.Security/4.0.1": {
5033-
"sha512": "Az6Ff6rZFb8nYGAaejFR6jr8ktt9f3e1Q/yKdw0pwHNTLaO/1eCAC9vzBoR9YAb0QeZD6fZXl1A9tRB5stpzXA==",
5033+
"sha512": "MlSclMlgE1paHcknfV9loOwEFvZz5Sw3m//Cto+gQYhDrceSXyvF7ST7KgplnGqucxYH6AOuQpD9zE3PB5ghvg==",
50345034
"type": "package",
50355035
"path": "runtime.native.System.Net.Security/4.0.1",
50365036
"files": [
@@ -7612,7 +7612,7 @@
76127612
]
76137613
},
76147614
"System.Reflection.Emit.Lightweight/4.0.1": {
7615-
"sha512": "sSzHHXueZ5Uh0OLpUQprhr+ZYJrLPA2Cmr4gn0wj9+FftNKXx8RIMKvO9qnjk2ebPYUjZ+F2ulGdPOsvj+MEjA==",
7615+
"sha512": "2TNd5n15PvjTHk7yHTiyh2vm6aURaHbMS8eo9VOJd/x5EDdZRDohsLaLtqXtDPkr3DFgioaepBvPiRi/w6RPQA==",
76167616
"type": "package",
76177617
"path": "System.Reflection.Emit.Lightweight/4.0.1",
76187618
"files": [
@@ -8437,7 +8437,7 @@
84378437
]
84388438
},
84398439
"System.Security.Cryptography.Cng/4.2.0": {
8440-
"sha512": "cUJ2h+ZvONDe28Szw3st5dOHdjndhJzQ2WObDEXAWRPEQBtVItVoxbXM/OEsTthl3cNn2dk2k0I3y45igCQcLw==",
8440+
"sha512": "DRU3mjP74SMNVDFLHoiIgOiGlw0X7zTPi6xn6+c4YQrGuvtUrRDSskBY4EYbmKJSqwICMLYZQUbRx2bk9yveTg==",
84418441
"type": "package",
84428442
"path": "System.Security.Cryptography.Cng/4.2.0",
84438443
"files": [
@@ -8463,7 +8463,7 @@
84638463
]
84648464
},
84658465
"System.Security.Cryptography.Csp/4.0.0": {
8466-
"sha512": "/i1Usuo4PgAqgbPNC0NjbO3jPW//BoBlTpcWFD1EHVbidH21y4c1ap5bbEMSGAXjAShhMH4abi/K8fILrnu4BQ==",
8466+
"sha512": "3JvceCa+M83ro2lyRrOTF0IZtehmJb1IuFEznX94sXbyMWioAG158j/cWapxsrikEXiFegb1ksCQX6kn9wtVwQ==",
84678467
"type": "package",
84688468
"path": "System.Security.Cryptography.Csp/4.0.0",
84698469
"files": [
@@ -8532,7 +8532,7 @@
85328532
]
85338533
},
85348534
"System.Security.Cryptography.OpenSsl/4.0.0": {
8535-
"sha512": "HUG/zNUJwEiLkoURDixzkzZdB5yGA5pQhDP93ArOpDPQMteURIGERRNzzoJlmTreLBWr5lkFSjjMSk8ySEpQMw==",
8535+
"sha512": "g+O296PHHTAF90Sh2ZrX8mVmbzQI/LgRDJMt89VEbhLq7fFt3Jd/zchUY1e4WtUi6rg0mnm6QGTidBmCesWjfA==",
85368536
"type": "package",
85378537
"path": "System.Security.Cryptography.OpenSsl/4.0.0",
85388538
"files": [

tests/FluentAssertions.Mvc.Tests.Shared/ViewResultAssertions_Tests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void WithViewData_GivenExpectedValue_ShouldPass()
155155
#else
156156
ActionResult result = new ViewResult
157157
{
158-
TempData = new TempDataDictionary { { "key1", "value1" } }
158+
ViewData = new ViewDataDictionary { { "key1", "value1" } }
159159
};
160160
#endif
161161

0 commit comments

Comments
 (0)