<commit_before><?php

class PointsOfInterestLayerTest extends SapphireTest {

	public function testUpdateCMSFields() {
		$layer = new PointsOfInterestLayer();
		$fields = $layer->getCMSFields();
		$root = $fields->fieldByName('Root.Main');
		$fields = $root->FieldList();
		$names = array();
		foreach ($fields as $field) {
			$names[] = $field->getName();
		}
		
		error_log(print_r($names,1)); 
		$expected = array('Name', 'ShowGuideMarkers', 'DefaultIcon');
		$this->assertEquals($expected, $names);

	}

}


class PointsOfInterestLayerTestObjectTO extends DataObject implements TestOnly {
}<commit_msg>MINOR: Remove debug<commit_after><?php

class PointsOfInterestLayerTest extends SapphireTest {

	public function testUpdateCMSFields() {
		$layer = new PointsOfInterestLayer();
		$fields = $layer->getCMSFields();
		$root = $fields->fieldByName('Root.Main');
		$fields = $root->FieldList();
		$names = array();
		foreach ($fields as $field) {
			$names[] = $field->getName();
		}
		
		$expected = array('Name', 'ShowGuideMarkers', 'DefaultIcon');
		$this->assertEquals($expected, $names);
	}

}


class PointsOfInterestLayerTestObjectTO extends DataObject implements TestOnly {
}
{'fraction_non_alphanumeric': 0.1554054054054054, 'fraction_numerical': 0.0008445945945945946, 'mean_word_length': 5.440217391304348, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5813599', 'n_tokens_mistral': 404, 'n_tokens_neox': 359, 'n_words': 77}