개정판 9e974b65
issue #000 TEST 프로젝트 수정.
Change-Id: I1d49f5584f049a3e1b40fcc11105b58a9c55334e
ConvertService/ServiceBase/Markus.Service.DataBase.Test/DataBaseDocumentitemPG.cs | ||
---|---|---|
14 | 14 |
var result = repository.GetFirstAsync("000000", "4000005").GetAwaiter().GetResult(); |
15 | 15 |
|
16 | 16 |
Console.WriteLine($"new id : {result}"); |
17 |
|
|
18 |
Assert.Pass(result.ID); |
|
17 | 19 |
} |
18 | 20 |
} |
19 | 21 |
|
... | ... | |
22 | 24 |
{ |
23 | 25 |
using (Markus.Service.DataBase.Repositories.DOCUMENTITEMRepository repository = new Repositories.DOCUMENTITEMRepository(ConnectionStr, dbtype)) |
24 | 26 |
{ |
27 |
|
|
25 | 28 |
var documentItem = new Entities.DOCUMENTITEM() |
26 |
{ |
|
27 |
REVISION ="A", |
|
28 |
DOCUMENT_NO= "PROC_TEST_DOCUMENT_NO", |
|
29 |
{ |
|
30 |
ID = "CC561E3CD580447E9A9508C563D257DA", |
|
31 |
REVISION = "A", |
|
32 |
DOCUMENT_NO = "PROC_TEST_DOCUMENT_NO", |
|
29 | 33 |
DOCUMENT_NAME = "PROC_TEST_DOCUMENT_NAME", |
30 | 34 |
GROUP_NO = "PROC_GROUP_NO", |
31 | 35 |
ORIGINAL_FILE = "PROC_TEST_ORIGINAL_FILE", |
32 | 36 |
DOCUMENT_ID = "0000000001", |
33 |
RESULT_FILE= "PROC_RESULT_FILE", |
|
37 |
RESULT_FILE = "PROC_RESULT_FILE",
|
|
34 | 38 |
RESULT = "PROC_RESULT", |
35 | 39 |
PROJECT_NO = "PROC_RESULT", |
36 | 40 |
Link = "PROC_TEST_Link" |
... | ... | |
40 | 44 |
var result = repository.CreateOrUPdateAsync(documentItem).GetAwaiter().GetResult(); |
41 | 45 |
|
42 | 46 |
Console.WriteLine($"new id : {result}"); |
47 |
Assert.Pass(result); |
|
43 | 48 |
} |
44 | 49 |
} |
45 | 50 |
} |
내보내기 Unified diff