updated core to 7.56, secutity update
This commit is contained in:
@@ -6,8 +6,8 @@ core = 7.x
|
||||
files[] = locale.test
|
||||
configure = admin/config/regional/language
|
||||
|
||||
; Information added by Drupal.org packaging script on 2017-02-01
|
||||
version = "7.54"
|
||||
; Information added by Drupal.org packaging script on 2017-06-21
|
||||
version = "7.56"
|
||||
project = "drupal"
|
||||
datestamp = "1485986921"
|
||||
datestamp = "1498069849"
|
||||
|
||||
|
@@ -819,7 +819,7 @@ class LocalePluralFormatTest extends DrupalWebTestCase {
|
||||
* Additional options to pass to the translation import form.
|
||||
*/
|
||||
function importPoFile($contents, array $options = array()) {
|
||||
$name = tempnam('temporary://', "po_") . '.po';
|
||||
$name = drupal_tempnam('temporary://', "po_") . '.po';
|
||||
file_put_contents($name, $contents);
|
||||
$options['files[file]'] = $name;
|
||||
$this->drupalPost('admin/config/regional/translate/import', $options, t('Import'));
|
||||
@@ -1113,7 +1113,7 @@ class LocaleImportFunctionalTest extends DrupalWebTestCase {
|
||||
* Additional options to pass to the translation import form.
|
||||
*/
|
||||
function importPoFile($contents, array $options = array()) {
|
||||
$name = tempnam('temporary://', "po_") . '.po';
|
||||
$name = drupal_tempnam('temporary://', "po_") . '.po';
|
||||
file_put_contents($name, $contents);
|
||||
$options['files[file]'] = $name;
|
||||
$this->drupalPost('admin/config/regional/translate/import', $options, t('Import'));
|
||||
@@ -1340,7 +1340,7 @@ class LocaleExportFunctionalTest extends DrupalWebTestCase {
|
||||
function testExportTranslation() {
|
||||
// First import some known translations.
|
||||
// This will also automatically enable the 'fr' language.
|
||||
$name = tempnam('temporary://', "po_") . '.po';
|
||||
$name = drupal_tempnam('temporary://', "po_") . '.po';
|
||||
file_put_contents($name, $this->getPoFile());
|
||||
$this->drupalPost('admin/config/regional/translate/import', array(
|
||||
'langcode' => 'fr',
|
||||
|
@@ -5,8 +5,8 @@ package = Testing
|
||||
version = VERSION
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2017-02-01
|
||||
version = "7.54"
|
||||
; Information added by Drupal.org packaging script on 2017-06-21
|
||||
version = "7.56"
|
||||
project = "drupal"
|
||||
datestamp = "1485986921"
|
||||
datestamp = "1498069849"
|
||||
|
||||
|
Reference in New Issue
Block a user