Bond_009
d7748cfa04
Multiple Stream changes
...
* Remove useless MemoryStream in DlnaHttpClient
* Use HttpContent.ReadFromJsonAsync extension
* Call ConfigureAwait for IAsyncDisposable
* Use HttpContent.CopyToAsync where possible
1 year ago
Bond_009
852f1dc0c1
Don't create non existent persons in LibraryManager.GetPerson
...
return null instead.
GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one
when the requested one doesn't exist
Fixes #3901
1 year ago
Bond_009
03b6adf068
Fix xUnit1030: Do not call ConfigureAwait in test method
1 year ago
Bond_009
8316bd590e
Fix #7610
2 years ago
Cody Robibero
a527034ebe
Validate requested user id ( #8812 )
2 years ago
Bond_009
eb7fee9590
Add more tests
2 years ago
Bond_009
52230d1c30
Return NotFound when itemId isn't found
2 years ago
Chris Blake
ad5b83781a
Add 404 response to MarkPlayedItem/MarkUnplayedItem ( #9211 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/9120
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Claus Vium
14027f962c
Merge pull request #6751 from Bond-009/tests12
...
Fix DLNA UpdateProfile test
2 years ago
Cody Robibero
6004060b4e
Fix build errors from new warnings
2 years ago
Bond_009
09e897d372
Clean up DLNA profile code
3 years ago
Niels van Velzen
8a827ba995
Update tests
3 years ago
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Bond_009
40be86eec0
Use PostAsJsonAsync where possible
3 years ago
Bond_009
beafd6eaab
Use JsonContent where possible
...
Should reduce the # of allocated bytes
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Bond_009
69cf8c1947
Add tests for DlnaController
3 years ago
Bond_009
07f64102dd
Fix build
3 years ago
Bond_009
0f7c875076
Fix test
3 years ago
Bond_009
69ba539c70
Add more tests for LibraryStructureController
3 years ago
Bond_009
909573f2f1
Add tests for LibraryStructureController
3 years ago
Bond_009
8b1a211081
MediaInfoControllerTests: Check Content-Length
3 years ago
Bond_009
abbcf5e4f7
Add tests for Playback/BitrateTest endpoint
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
crobibero
d32bbf181a
Ignore all test controllers
3 years ago
Bond_009
06401ffa0d
Fix duplicate keys causing an exception
3 years ago
BaronGreenback
133ce65e28
Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
BaronGreenback
e71c10df46
Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
BaronGreenback
53bfe0e77d
Changes as requested
4 years ago
Bond_009
391554d391
Add tests for UserController
4 years ago
Bond_009
45a16c19a7
Add code to test authenticated endpoints
4 years ago
Bond_009
5253483ce4
Improve naming
4 years ago
Bond_009
c5079ebed5
Add tests for GetFirstUser, UpdateStartupUser and CompleteWizard
4 years ago
Bond_009
849ced470a
Add StartupControllerTests
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
Bond_009
b9577d0fd9
Check for specific status code instead of success
4 years ago
Bond_009
fa8bfece4e
Split integration tests from unit tests
4 years ago