mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 00:36:39 +00:00
32 lines
684 B
C#
32 lines
684 B
C#
using System;
|
|
using Xunit;
|
|
using System.Collections.Generic;
|
|
using TicketManager.Controllers;
|
|
using TicketManager.Data;
|
|
using TicketManager.Models;
|
|
|
|
namespace TicketManager.Tests
|
|
{
|
|
public class ProjectsControllerTests
|
|
{
|
|
|
|
|
|
public ProjectsControllerTests()
|
|
{
|
|
// _context = context;
|
|
}
|
|
|
|
[Fact]
|
|
public void Get_ReturnsProjectList()
|
|
{
|
|
// Arange
|
|
// var controller = new ProjectsController();
|
|
|
|
// Act
|
|
// var result = controller.GetProjects();
|
|
|
|
// Assert
|
|
// Assert.IsType<IEnumerable<Project>>(result);
|
|
}
|
|
}
|
|
}
|