diff --git a/tests/core/ArrayDataTest.php b/tests/core/ArrayDataTest.php
index <HASH>..<HASH> 100644
--- a/tests/core/ArrayDataTest.php
+++ b/tests/core/ArrayDataTest.php
@@ -68,7 +68,7 @@ class ArrayDataTest extends SapphireTest {
 		
 		$arrayData = new ArrayData($array);
 		
-		$this->assertEquals($arrayData->getArray(), $array);
+		$this->assertEquals($arrayData->toMap(), $array);
 
 		Deprecation::restore_settings($originalDeprecation);
 	}
MINOR Fixing ArrayDataTest to use toMap() instead of getArray() which is deprecated.