From 8d4fe1ef9f7f720e30a128ef8b70e46ece7845a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20No=C3=A9=20Gonz=C3=A1lez?= Date: Sun, 11 Nov 2018 00:33:17 +0100 Subject: [PATCH] CompletionTest fixed --- tests/Server/TextDocument/CompletionTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/Server/TextDocument/CompletionTest.php b/tests/Server/TextDocument/CompletionTest.php index c64c8e6..d845429 100644 --- a/tests/Server/TextDocument/CompletionTest.php +++ b/tests/Server/TextDocument/CompletionTest.php @@ -827,12 +827,23 @@ class CompletionTest extends TestCase '\TestClass', // Type of the property 'Reprehenderit magna velit mollit ipsum do.' ), + new CompletionItem( + 'protectedProperty', + CompletionItemKind::PROPERTY, + '\TestClass', // Type of the property + 'Reprehenderit magna velit mollit ipsum do.' + ), new CompletionItem( 'testMethod', CompletionItemKind::METHOD, '\TestClass', // Return type of the method 'Non culpa nostrud mollit esse sunt laboris in irure ullamco cupidatat amet.' ), + new CompletionItem( + 'protectedTestMethod', + CompletionItemKind::METHOD, + 'mixed' // Return type of the method + ), new CompletionItem( 'foo', CompletionItemKind::PROPERTY,