Skip to content

Commit 03de968

Browse files
committed
Merge branch 'master' into 5.0
2 parents 2e7b8d6 + b112382 commit 03de968

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

.gitpod.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
tasks:
2-
- init: |
3-
echo "No special initialization"
2+
- name: Run Composer
43
command: |
54
composer install
65
7-
image:
8-
file: .gitpod/Dockerfile
6+
image: byjg/gitpod-image:latest
7+
8+
jetbrains:
9+
phpstorm:
10+
vmoptions: '-Xmx4g'
11+
plugins:
12+
- com.github.copilot
13+
- com.intellij.kubernetes
14+
- com.intellij.mermaid
15+
- ru.adelf.idea.dotenv
16+
- org.toml.lang
917

1018
vscode:
1119
extensions:

.gitpod/Dockerfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/RowTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,26 @@ public function testRemoveFieldName()
131131
{
132132
$this->fill();
133133

134+
$this->assertEquals(["field1" => [10, 20, 30], "field2" => 40], $this->object->toArray());
135+
134136
$this->object->removeField('field1');
135137
$this->assertEquals(null, $this->object->get('field1'));
136138
$this->assertEquals(40, $this->object->get('field2'));
139+
140+
$this->assertEquals(["field2" => 40], $this->object->toArray());
137141
}
138142

139143
public function testRemoveFieldName2()
140144
{
141145
$this->fill();
142146

147+
$this->assertEquals(["field1" => [10, 20, 30], "field2" => 40], $this->object->toArray());
148+
143149
$this->object->removeField('field2');
144150
$this->assertEquals(10, $this->object->get('field1'));
145151
$this->assertEquals(null, $this->object->get('field2'));
152+
153+
$this->assertEquals(["field1" => [10, 20, 30]], $this->object->toArray());
146154
}
147155

148156
public function testRemoveFieldNameValue()

0 commit comments

Comments
 (0)