diff --git a/files/constants.php b/files/constants.php index 57f28ef0..4b3016f4 100644 --- a/files/constants.php +++ b/files/constants.php @@ -20,8 +20,6 @@ define('PHPFHIR_ROOT_DIR', realpath(dirname(__DIR__))); define('PHPFHIR_BIN_DIR', realpath(__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'bin')); define('PHPFHIR_DEFAULT_OUTPUT_DIR', realpath(PHPFHIR_ROOT_DIR . DIRECTORY_SEPARATOR . 'output')); -const PHPFHIR_OUTPUT_TMP_DIR = PHPFHIR_DEFAULT_OUTPUT_DIR . DIRECTORY_SEPARATOR . 'tmp'; -const PHPFHIR_FHIR_VALIDATION_JAR = PHPFHIR_BIN_DIR . DIRECTORY_SEPARATOR . 'validator_cli.jar'; // type suffixes const PHPFHIR_PRIMITIVE_SUFFIX = '-primitive'; diff --git a/template/versions/types/tests/integration/class.php b/template/versions/types/tests/integration/class.php index ebf5477f..5928f420 100644 --- a/template/versions/types/tests/integration/class.php +++ b/template/versions/types/tests/integration/class.php @@ -136,8 +136,8 @@ protected function fetchResourceBundle(string $format): string } $this->assertIsString($rc->resp); $this->_fetchedResources[$format] = $rc->resp; - $fname = sprintf('%s%sgetFHIRName(); ?>-getSourceMetadata()->getFHIRVersion(false); ?>-source.%s', PHPFHIR_OUTPUT_TMP_DIR, DIRECTORY_SEPARATOR, $format); - file_put_contents($fname, $rc->resp); + // $fname = sprintf('%s%sgetFHIRName(); ?>-getSourceMetadata()->getFHIRVersion(false); ?>-source.%s', PHPFHIR_OUTPUT_TMP_DIR, DIRECTORY_SEPARATOR, $format); + // file_put_contents($fname, $rc->resp); return $rc->resp; } diff --git a/template/versions/types/tests/validation/class.php b/template/versions/types/tests/validation/class.php index 126843d9..e95668d7 100644 --- a/template/versions/types/tests/validation/class.php +++ b/template/versions/types/tests/validation/class.php @@ -180,8 +180,8 @@ protected function fetchResourceBundle(string $format): string } $this->assertIsString($rc->resp); $this->_fetchedResources[$format] = $rc->resp; - $fname = sprintf('%s%sgetFHIRName(); ?>-getSourceMetadata()->getFHIRVersion(false); ?>-source.%s', PHPFHIR_OUTPUT_TMP_DIR, DIRECTORY_SEPARATOR, $format); - file_put_contents($fname, $rc->resp); + // $fname = sprintf('%s%sgetFHIRName(); ?>-getSourceMetadata()->getFHIRVersion(false); ?>-source.%s', PHPFHIR_OUTPUT_TMP_DIR, DIRECTORY_SEPARATOR, $format); + // file_put_contents($fname, $rc->resp); return $rc->resp; }