/var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/me-tools/src/TestSuite
NameSizeModeActions
CommandTestCase.php17800644editdlrm
ComponentTestCase.php15230644editdlrm
HelperTestCase.php13800644editdlrm
IntegrationTestTrait.php40300644editdlrm
MockTrait.php42110644editdlrm
TestCase.php34190644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/me-tools/src/TestSuite/TestCase.php (3419B)
_cache['alias'])) { $this->_cache['alias'] = $this->getAlias($this); } return $this->_cache['alias']; case 'originClassName': if (empty($this->_cache['originClassName'])) { $this->_cache['originClassName'] = $this->getOriginClassName($this); } return $this->_cache['originClassName']; } $this->fail('Property `' . $name . '` does not exist'); } /** * Called before every test method * @return void */ protected function setUp(): void { parent::setUp(); if (method_exists($this, 'enableCsrfToken')) { $this->enableCsrfToken(); } if (method_exists($this, 'enableRetainFlashMessages')) { $this->enableRetainFlashMessages(); } } /** * Asserts log file contents * @param string $expectedContent The expected contents * @param string $filename Log filename * @param string $message The failure message that will be appended to the generated message * @return void */ public function assertLogContains(string $expectedContent, string $filename, string $message = ''): void { $this->assertFileIsReadable($filename); $this->assertStringContainsString($expectedContent, file_get_contents($filename) ?: '', $message); } /** * Get a table instance from the registry * @param string $alias The alias name you want to get * @param array $options The options you want to build the table with * @return \Cake\ORM\Table * @since 2.18.11 * @deprecated 2.25.0 will be removed in a later release * @codeCoverageIgnore */ protected function getTable(string $alias, array $options = []): Table { deprecationWarning('`TestCase::getTable()` is deprecated and will be removed in a later release'); $this->getTableLocator()->clear(); return $this->getTableLocator()->get($alias, $options); } }