Skip to content

Commit 3a8038c

Browse files
committed
fix test
1 parent 0bb55a1 commit 3a8038c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/Integrations/Custom/Autoloaded/ProcessTagsWebTest.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public function testProcessTagsEnabledForWebSapi()
4848
}
4949

5050
$this->assertArrayHasKey('entrypoint.workdir', $tags, 'entrypoint.workdir should be present');
51-
$this->assertArrayHasKey('entrypoint.name', $tags, 'entrypoint.name should be present for web SAPI');
52-
$this->assertArrayHasKey('entrypoint.basedir', $tags, 'entrypoint.basedir should be present for web SAPI');
5351
$this->assertArrayHasKey('entrypoint.type', $tags, 'entrypoint.type should be present for web SAPI');
52+
$this->assertArrayNotHasKey('entrypoint.name', $tags, 'entrypoint.name should not be present for web SAPI');
53+
$this->assertArrayNotHasKey('entrypoint.basedir', $tags, 'entrypoint.basedir should not be present for web SAPI');
5454

5555
// Verify server.type is one of the expected SAPIs tested in CI
5656
$expectedSapis = ['cli-server', 'cgi-fcgi', 'apache2handler', 'fpm-fcgi'];
@@ -63,11 +63,6 @@ public function testProcessTagsEnabledForWebSapi()
6363
$tags['runtime.sapi']
6464
)
6565
);
66-
$this->assertEquals($tags['entrypoint.name'], 'index');
67-
$this->assertEquals($tags['entrypoint.workdir'], 'app');
6866
$this->assertEquals($tags['entrypoint.type'], 'script');
69-
$this->assertEquals($tags['entrypoint.basedir'], 'public');
70-
71-
// $this->assert(1 == 0);
7267
}
7368
}

0 commit comments

Comments
 (0)