Verified Commit 1b1af634 authored by Dave Long's avatar Dave Long
Browse files

Issue #3402296 by mstrelan, smustgrave: Fix strict type errors in kernel...

Issue #3402296 by mstrelan, smustgrave: Fix strict type errors in kernel tests: Do not quote integers
parent 4203cff7
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ protected function setUp(): void {
  protected function getFileMigrationInfo() {
    return [
      'path' => 'public://sites/default/files/cube.jpeg',
      'size' => '3620',
      'size' => 3620,
      'base_path' => 'public://',
      'plugin_id' => 'd7_file',
    ];
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ protected function setUp(): void {
  protected function getFileMigrationInfo() {
    return [
      'path' => 'private://sites/default/private/Babylon5.txt',
      'size' => '3',
      'size' => 3,
      'base_path' => 'private://',
      'plugin_id' => 'd7_file_private',
    ];
+5 −5
Original line number Diff line number Diff line
@@ -31,11 +31,11 @@ protected function getFixtureFilePath() {
   */
  public function testTaxonomyTermTranslation() {
    // Forums vocabulary, no multilingual option.
    $this->assertEntity(1, 'en', 'General discussion', 'forums', NULL, NULL, '2', []);
    $this->assertEntity(5, 'en', 'Custom Forum', 'forums', 'Where the cool kids are.', NULL, '3', []);
    $this->assertEntity(6, 'en', 'Games', 'forums', NULL, NULL, '4', []);
    $this->assertEntity(7, 'en', 'Minecraft', 'forums', NULL, NULL, '1', ['6']);
    $this->assertEntity(8, 'en', 'Half Life 3', 'forums', NULL, NULL, '0', ['6']);
    $this->assertEntity(1, 'en', 'General discussion', 'forums', NULL, NULL, 2, []);
    $this->assertEntity(5, 'en', 'Custom Forum', 'forums', 'Where the cool kids are.', NULL, 3, []);
    $this->assertEntity(6, 'en', 'Games', 'forums', NULL, NULL, 4, []);
    $this->assertEntity(7, 'en', 'Minecraft', 'forums', NULL, NULL, 1, ['6']);
    $this->assertEntity(8, 'en', 'Half Life 3', 'forums', NULL, NULL, 0, ['6']);
  }

}
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ protected function setUp(): void {
  protected function getFileMigrationInfo() {
    return [
      'path' => 'public://sites/default/files/cube.jpeg',
      'size' => '3620',
      'size' => 3620,
      'base_path' => 'public://',
      'plugin_id' => 'd7_file',
    ];
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ protected function setUp(): void {
  protected function getFileMigrationInfo() {
    return [
      'path' => 'public://sites/default/files/cube.jpeg',
      'size' => '3620',
      'size' => 3620,
      'base_path' => 'public://',
      'plugin_id' => 'd7_file',
    ];
Loading