mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-04 02:22:39 +00:00
Replaced all is_a() calls with instanceof operator
This commit is contained in:
parent
b883202890
commit
7d7954ce18
6 changed files with 22 additions and 22 deletions
|
@ -137,7 +137,7 @@ class SchemaShellTest extends CakeTestCase {
|
|||
public function testStartup() {
|
||||
$this->Shell->startup();
|
||||
$this->assertTrue(isset($this->Shell->Schema));
|
||||
$this->assertTrue(is_a($this->Shell->Schema, 'CakeSchema'));
|
||||
$this->assertTrue($this->Shell->Schema instanceof CakeSchema);
|
||||
$this->assertEquals(Inflector::camelize(Inflector::slug(APP_DIR)), $this->Shell->Schema->name);
|
||||
$this->assertEquals('schema.php', $this->Shell->Schema->file);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue