Skip to content

Commit bffd346

Browse files
authored
fix(ci): version-portable assert shims in ProcessTagsWebTest (PHP 7.0) (#4022)
1 parent 2b95de2 commit bffd346

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/Integrations/Custom/Autoloaded/ProcessTagsWebTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ public function testSvcTagDoesNotLeakBetweenRequests()
7979
return $this->call(new RequestSpec(__FUNCTION__ . '_user', 'GET', '/set_service', []));
8080
});
8181
$userTags = $tracesUser[0][0]['meta']['_dd.tags.process'];
82-
$this->assertStringContainsString('svc.user:true', $userTags);
83-
$this->assertStringNotContainsString('svc.auto:', $userTags);
82+
$this->assertStringContains('svc.user:true', $userTags);
83+
$this->assertStringNotContains('svc.auto:', $userTags);
8484

8585
$tracesAuto = $this->tracesFromWebRequest(function () {
8686
return $this->call(new RequestSpec(__FUNCTION__ . '_auto', 'GET', '/simple', []));
8787
});
8888
$autoTags = $tracesAuto[0][0]['meta']['_dd.tags.process'];
89-
$this->assertStringNotContainsString('svc.user', $autoTags);
90-
$this->assertStringContainsString('svc.auto:', $autoTags);
89+
$this->assertStringNotContains('svc.user', $autoTags);
90+
$this->assertStringContains('svc.auto:', $autoTags);
9191
}
9292
}

0 commit comments

Comments
 (0)