Skip to content

Commit

Permalink
fix two failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vpavel04 committed Jan 17, 2024
1 parent 1304044 commit fb7c649
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.1
0.6.2
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 0.6.2
* Fix two failed tests

## 0.6.1
* Target for Revit 2026
* Update GregRevitAuth to 2.0.8776.26607
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void CanGetFamilyDocumentParameters()
string testPath = Path.GetFullPath(samplePath);

var expectedOutputType = typeof(Revit.Elements.FamilyParameter);
var expectedParameterCount = 17;
var expectedParameterCount = 19;

// Act
ViewModel.OpenCommand.Execute(testPath);
Expand Down
4 changes: 2 additions & 2 deletions test/Libraries/RevitIntegrationTests/ElementBindingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ public void Rebinding_ExceptionIsThrown()

//Check the number of the family instances
var instances = TestUtils.GetAllFamilyInstances();
Assert.AreEqual(8, instances.Count);
Assert.AreEqual(4, instances.Count);

var model = ViewModel.Model;
var selNodes = model.CurrentWorkspace.Nodes.Where(x => string.Equals(x.GUID.ToString(), "2411be0e-abff-4d32-804c-5e5025a92257"));
Expand All @@ -593,7 +593,7 @@ public void Rebinding_ExceptionIsThrown()

//Check the number of family instances
instances = TestUtils.GetAllFamilyInstances();
Assert.AreEqual(8, instances.Count);
Assert.AreEqual(4, instances.Count);
}

[Test]
Expand Down

0 comments on commit fb7c649

Please sign in to comment.