Issue #3402292 by mstrelan, ankithashetty, dww, smustgrave: Fix strict type...
Issue #3402292 by mstrelan, ankithashetty, dww, smustgrave: Fix strict type errors: Convert FormattableMarkup to strings (simple replacement) in core/tests/Drupal/KernelTests/*
(cherry picked from commit 7835ce45)
$this->assertTrue($this->schema->fieldExists($table_name,$column_name),newFormattableMarkup('Unsigned @type column was created.',['@type'=>$column_spec['type']]));
$this->assertFalse($this->tryUnsignedInsert($table_name,$column_name),newFormattableMarkup('Unsigned @type column rejected a negative value.',['@type'=>$column_spec['type']]));
$this->assertTrue($this->schema->fieldExists($table_name,$column_name),"Unsigned {$column_spec['type']}column was created.");
$this->assertFalse($this->tryUnsignedInsert($table_name,$column_name),"Unsigned {$column_spec['type']} column rejected a negative value.");
$this->assertEquals('test',$entities[0]->name->value,newFormattableMarkup('%entity_type: Created and loaded entity',['%entity_type'=>$entity_type]));
$this->assertEquals('test',$entities[1]->name->value,newFormattableMarkup('%entity_type: Created and loaded entity',['%entity_type'=>$entity_type]));
$this->assertEquals('test',$entities[0]->name->value,"$entity_type: Created and loaded entity");
$this->assertEquals('test',$entities[1]->name->value,"$entity_type: Created and loaded entity");
// Test loading a single entity.
$loaded_entity=$storage->load($entity->id());
$this->assertEquals($entity->id(),$loaded_entity->id(),newFormattableMarkup('%entity_type: Loaded a single entity by id.',['%entity_type'=>$entity_type]));
$this->assertEquals($entity->id(),$loaded_entity->id(),"$entity_type: Loaded a single entity by id.");