mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #6180 from crobibero/test-controller
Ignore Test Controllers
This commit is contained in:
commit
004c53a5a5
@ -0,0 +1,14 @@
|
|||||||
|
using Jellyfin.Api;
|
||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
|
namespace Jellyfin.Server.Integration.Tests.Controllers
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Base controller for testing infrastructure.
|
||||||
|
/// Automatically ignored in generated openapi spec.
|
||||||
|
/// </summary>
|
||||||
|
[ApiExplorerSettings(IgnoreApi = true)]
|
||||||
|
public class BaseJellyfinTestController : BaseJellyfinApiController
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -3,12 +3,12 @@ using System.Linq;
|
|||||||
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Http;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
namespace Jellyfin.Api.Controllers
|
namespace Jellyfin.Server.Integration.Tests.Controllers
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Controller for testing the encoded url.
|
/// Controller for testing the encoded url.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class EncoderController : BaseJellyfinApiController
|
public class EncoderController : BaseJellyfinTestController
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Tests the url decoding.
|
/// Tests the url decoding.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user