Index: Riskeer/Common/test/Riskeer.Common.Forms.Test/Views/CalculationsViewTest.cs =================================================================== diff -u -r349e355fa968efd993e4d3d2fd642ffa96c8efa0 -re6fcde3f134bb64e9152651964f5dddc30902c73 --- Riskeer/Common/test/Riskeer.Common.Forms.Test/Views/CalculationsViewTest.cs (.../CalculationsViewTest.cs) (revision 349e355fa968efd993e4d3d2fd642ffa96c8efa0) +++ Riskeer/Common/test/Riskeer.Common.Forms.Test/Views/CalculationsViewTest.cs (.../CalculationsViewTest.cs) (revision e6fcde3f134bb64e9152651964f5dddc30902c73) @@ -593,7 +593,7 @@ [Test] [Apartment(ApartmentState.STA)] - public void CalculationsView_ChangingCellValueWhereSubscribed_CellValueEdited() + public void CalculationsView_ChangingSubscribedCellValue_ValueCorrectlyAdjusted() { // Setup var mocks = new MockRepository(); @@ -603,10 +603,10 @@ TestCalculationsView calculationsView = ShowFullyConfiguredCalculationsView(assessmentSection); var dataGridView = (DataGridView) new ControlTester("dataGridView").TheObject; - - // Call DataGridViewCell dataGridViewCell = dataGridView.Rows[0].Cells[selectableHydraulicBoundaryLocationsColumnIndex]; dataGridView.CurrentCell = dataGridViewCell; + + // Call dataGridViewCell.Value = dataGridView.Rows[1].Cells[selectableHydraulicBoundaryLocationsColumnIndex].Value; // Assert