root / trunk / Pithos.TestServer.Test / UserControllerTest.cs @ cedf7fb5
History | View | Annotate | Download (525 Bytes)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
using NUnit.Framework; |
7 |
|
8 |
namespace Pithos.TestServer.Test |
9 |
{ |
10 |
[TestFixture] |
11 |
public class UserControllerTest |
12 |
{ |
13 |
[Test] |
14 |
public void should_resolve_uuid() |
15 |
{ |
16 |
var controller = new UsersController(); |
17 |
var response=controller.Post(new UserRequest {uuids = new string[] {"a"}}); |
18 |
Assert.That(response.uuid_catalog, Is.Not.Empty); |
19 |
} |
20 |
} |
21 |
} |