Skip to content

Commit

Permalink
Remove resource_properties() test
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Feb 25, 2022
1 parent f8808c5 commit 2ca9e63
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/test/php/web/unittest/EnvironmentTest.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,6 @@ public function composite_properties() {
$this->assertEquals(2, $environment->properties('inject')->length());
}

#[Test, Expect(class: ElementNotFoundException::class, withMessage: '/ResourcePropertySource/')]
public function resource_properties() {
$environment= new Environment('dev', '.', 'static', ['inject.ini']);
try {
$environment->properties('inject');
} finally {
\xp::gc();
}
}

#[Test]
public function arguments_empty_by_default() {
$this->assertEquals([], (new Environment('dev', '.', 'static', []))->arguments());
Expand Down

0 comments on commit 2ca9e63

Please sign in to comment.