- $this->assertEqual($off_canvas_expected_response, $ajax_result[3], 'off-canvas dialog JSON response matches.');
+ $this->assertEquals($off_canvas_expected_response, $ajax_result[3], 'off-canvas dialog JSON response matches.');
+ }
+
+ /**
+ * The data provider for potential dialog positions.
+ *
+ * @return array
+ */
+ public static function dialogPosition() {
+ return [
+ [NULL],
+ ['side'],
+ ['top'],
+ ];