Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
namespace Drupal\FunctionalTests;
|
||||
|
||||
use Drupal\Tests\BrowserTestBase;
|
||||
|
||||
/**
|
||||
* Test for BrowserTestBase::getTestMethodCaller() in child classes.
|
||||
*
|
||||
* @group browsertestbase
|
||||
*/
|
||||
class GetTestMethodCallerExtendsTest extends GetTestMethodCallerTest {
|
||||
|
||||
/**
|
||||
* A test method that is not present in the parent class.
|
||||
*/
|
||||
public function testGetTestMethodCallerChildClass() {
|
||||
$method_caller = $this->getTestMethodCaller();
|
||||
$expected = [
|
||||
'file' => __FILE__,
|
||||
'line' => 18,
|
||||
'function' => __CLASS__ . '->' . __FUNCTION__ . '()',
|
||||
'class' => BrowserTestBase::class,
|
||||
'object' => $this,
|
||||
'type' => '->',
|
||||
'args' => [],
|
||||
];
|
||||
$this->assertEquals($expected, $method_caller);
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue