diff --git a/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj b/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj
index 7bb86e0..d676064 100644
--- a/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj
+++ b/ACUtils.SqlDb.Utils/ACUtils.SqlDb.Utils.csproj
@@ -4,8 +4,8 @@
Andrea Cattaneo
true
false
- 1.0.0.145
- 1.0.0.145
+ 1.0.0.146
+ 1.0.0.146
Utilities per gestione DataTable
it
true
@@ -16,7 +16,7 @@
-
+
diff --git a/ACUtils.SqlDb/ACUtils.SqlDb.csproj b/ACUtils.SqlDb/ACUtils.SqlDb.csproj
index ca77bea..bf2de0a 100644
--- a/ACUtils.SqlDb/ACUtils.SqlDb.csproj
+++ b/ACUtils.SqlDb/ACUtils.SqlDb.csproj
@@ -5,8 +5,8 @@
Andrea Cattaneo
true
false
- 1.0.0.148
- 1.0.0.148
+ 1.0.0.149
+ 1.0.0.149
Utility per interrogazione database MSSQL
it
true
@@ -15,7 +15,7 @@
-
+
diff --git a/ACUtils.SqlDbExt/ACUtils.SqlDbExt.csproj b/ACUtils.SqlDbExt/ACUtils.SqlDbExt.csproj
index 00eca5d..bcd2163 100644
--- a/ACUtils.SqlDbExt/ACUtils.SqlDbExt.csproj
+++ b/ACUtils.SqlDbExt/ACUtils.SqlDbExt.csproj
@@ -5,8 +5,8 @@
Andrea Cattaneo
true
false
- 1.0.0.142
- 1.0.0.142
+ 1.0.0.143
+ 1.0.0.143
Utility per interrogazione database MSSQL
it
true
@@ -15,7 +15,7 @@
-
+
diff --git a/Tests/AXTests.cs b/Tests/AXTests.cs
deleted file mode 100644
index d6847ae..0000000
--- a/Tests/AXTests.cs
+++ /dev/null
@@ -1,89 +0,0 @@
-using System;
-using System.Linq;
-
-using ACUtils;
-
-using NUnit.Framework;
-namespace Tests
-{
- [TestFixture]
- public class AXTests
- {
- ACUtils.AXRepository.ArxivarRepository repo;
- [SetUp]
- public void Setup()
- {
- var apiUrl = "http://documentale.poliplast.local/ARXivarNextWebApi/";
- var workflowUrl = "http://documentale.poliplast.local/ARXivarNextWebApi/";
- var managementUrl = "http://documentale.poliplast.local/ARXivarNextWebApi/";
- var appSecret = "A61C0B60ACEA4C768D68EB578EB5A8A4";
- var appId = "addons";
- var username = "admin";
- var password = "PoliplastArxivar2021";
-
- repo = new ACUtils.AXRepository.ArxivarRepository(
- apiUrl: apiUrl,
- managementUrl: managementUrl,
- workflowUrl: workflowUrl,
- username: username,
- password: password,
- appId: appId,
- appSecret: appSecret
- );
- }
-
- [Test]
- public void TestProfileGet()
- {
- var doc = repo.GetProfile(4);
-
- Assert.IsNotNull(doc.DOCNAME);
- Assert.AreEqual(4, doc.DOCNUMBER);
- Assert.IsNotNull(doc.DataDoc);
- Assert.IsNotNull(doc.DestinatariCodiceRubrica);
- //Assert.IsNotNull(doc.DestinatariIdRubrica);
- Assert.IsNotNull(doc.MittenteCodiceRubrica);
- //Assert.IsNotNull(doc.MittenteIdRubrica);
- Assert.IsNotNull(doc.MittenteId);
- Assert.IsNotNull(doc.DestinatariId);
- Assert.IsTrue(doc.DestinatariId.Count() > 0);
- Assert.IsNotNull(doc.Prova);
-
-
- var docSearch = repo.Search(doc).First();
- Assert.IsNotNull(docSearch.DOCNAME);
- Assert.AreEqual(4, docSearch.DOCNUMBER);
- Assert.IsNotNull(docSearch.DataDoc);
- Assert.IsNotNull(docSearch.DestinatariCodiceRubrica);
- //Assert.IsNotNull(doc.DestinatariIdRubrica);
- Assert.IsNotNull(docSearch.MittenteCodiceRubrica);
- //Assert.IsNotNull(doc.MittenteIdRubrica);
- Assert.IsNotNull(docSearch.MittenteId);
- Assert.IsNotNull(docSearch.DestinatariId);
- Assert.IsTrue(docSearch.DestinatariId.Count() > 0);
- Assert.IsNotNull(docSearch.Prova);
- }
-
- [Test]
- public void TestGetUser()
- {
- Assert.IsNotNull(repo.UserGet("PO", "admin"));
- }
-
- [Test]
- public void TestCreateUser()
- {
- var result = repo.UserCreateIfNotExists(
- username: "test02",
- defaultPassword: "test02",
- description: "test02",
- aoo: "PO",
- mustChangePassword: false,
- workflow: true,
- groups: new[] { "Everybody" }
- );
-
- Assert.IsTrue(result);
- }
- }
-}
diff --git a/Tests/Stuff/AXDoc.cs b/Tests/Stuff/AXDoc.cs
deleted file mode 100644
index 8f5ed45..0000000
--- a/Tests/Stuff/AXDoc.cs
+++ /dev/null
@@ -1,13 +0,0 @@
-namespace Tests.Stuff
-{
- [ACUtils.AXRepository.Attributes.AxClass(document_type: "DEV.TEST", description:"Documento di test", stato:"TEST")]
- public class AXDoc: ACUtils.AXRepository.AXModel
- {
-
- [ACUtils.AXRepository.Attributes.AxField(ax_field: "DOCNUMBER", key: 1)]
- public override int? DOCNUMBER { get; set; }
-
- [ACUtils.AXRepository.Attributes.AxField(ax_field:"TESTO16_5")]
- public string Prova { get; set; }
- }
-}
diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj
index ba64c69..40ef8e8 100644
--- a/Tests/Tests.csproj
+++ b/Tests/Tests.csproj
@@ -45,7 +45,6 @@
-
@@ -55,7 +54,6 @@
-