diff options
author | Valery Piashchynski <[email protected]> | 2023-03-16 11:48:35 +0100 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2023-03-16 11:48:35 +0100 |
commit | d2eefe3af7bbeb8c302b5af1448318a1e600980d (patch) | |
tree | 90b21d47b1115bd0b2b1aaa920d4c9db5c685d40 /lib | |
parent | 5dbfd055bae06d1e9403d5225af33b9109906402 (diff) |
chore: use config `version: '3'`
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/roadrunner_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/roadrunner_test.go b/lib/roadrunner_test.go index 4c603c23..c7a1a4b5 100644 --- a/lib/roadrunner_test.go +++ b/lib/roadrunner_test.go @@ -17,7 +17,7 @@ func TestNewFailsOnMissingConfig(t *testing.T) { } const testConfigWithVersion = ` -version: "2.7" +version: '3' server: command: "php src/index.php" relay: "pipes" @@ -57,7 +57,7 @@ func TestNewWithConfig(t *testing.T) { cfgFile := makeConfig(t, testConfigWithVersion) rr, err := lib.NewRR(cfgFile, []string{}, lib.DefaultPluginsList()) assert.NoError(t, err) - assert.Equal(t, 0, len(rr.Version)) + assert.Equal(t, "3", rr.Version) t.Cleanup(func() { _ = os.Remove(cfgFile) |