Skip to content

Commit 1431f3a

Browse files
committed
pint formatting
1 parent 61c790d commit 1431f3a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/Database/Query/FMBaseBuilder.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -832,8 +832,8 @@ public function insert(array $values)
832832

833833
$this->fieldData = $this->mapFieldNamesForArray($values);
834834

835-
//TODO handle inserting multiple records at once, maybe?
836-
//TODO handle setting portal data
835+
// TODO handle inserting multiple records at once, maybe?
836+
// TODO handle setting portal data
837837

838838
// Finally, we will run this query against the database connection and return
839839
// the results. We will need to also flatten these bindings before running

tests/Unit/FileMakerConnectionTest.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ protected function tearDown(): void
1919
Mockery::close();
2020
}
2121

22-
public function testConnectionGetsTheDefaultDatabaseConfiguration()
22+
public function test_connection_gets_the_default_database_configuration()
2323
{
2424
$connection = app(FileMakerConnection::class);
2525

2626
$this->assertEquals('filemaker', $connection->getConfig('name'));
2727
$this->assertEquals('tester', $connection->getConfig('database'));
2828
}
2929

30-
public function testSetConnectionChangesTheDatabaseConfiguration()
30+
public function test_set_connection_changes_the_database_configuration()
3131
{
3232
$connection = app(FileMakerConnection::class);
3333
$this->assertEquals('filemaker', $connection->getConfig('name'));
@@ -39,7 +39,7 @@ public function testSetConnectionChangesTheDatabaseConfiguration()
3939
$this->assertEquals('tester2', $connection->getConfig('database'));
4040
}
4141

42-
public function testSetLayoutChangesTheLayoutUsed()
42+
public function test_set_layout_changes_the_layout_used()
4343
{
4444
$connection = app(FileMakerConnection::class);
4545
$this->assertEquals('', $connection->getLayout());
@@ -49,7 +49,7 @@ public function testSetLayoutChangesTheLayoutUsed()
4949
$this->assertEquals('dapi-pet', $connection->getLayout());
5050
}
5151

52-
public function testDatabasePrefixIsAddedToLayoutNames()
52+
public function test_database_prefix_is_added_to_layout_names()
5353
{
5454
$connection = app(FileMakerConnection::class)->setConnection('prefix');
5555

@@ -62,7 +62,7 @@ public function testDatabasePrefixIsAddedToLayoutNames()
6262
$this->assertEquals('dapi-car', $connection->getLayout());
6363
}
6464

65-
public function testLoginToFileMaker()
65+
public function test_login_to_file_maker()
6666
{
6767
$this->overrideDBHost();
6868
Http::fake([
@@ -77,7 +77,7 @@ public function testLoginToFileMaker()
7777
$this->assertEquals('new-token', $token);
7878
}
7979

80-
public function testFailedLoginToFileMakerThrow()
80+
public function test_failed_login_to_file_maker_throw()
8181
{
8282
$this->overrideDBHost();
8383
Http::fake([

0 commit comments

Comments
 (0)