local-testing contribution guide updated.

This commit is contained in:
Geoff Taylor
2020-06-04 22:20:12 -04:00
committed by Geoff Taylor
parent d4b54f04ff
commit fb4def61d9
+1 -1
View File
@@ -299,7 +299,7 @@ vendor/bin/codecept run wpunit ItemCountTest --debug
Run this statement in the terminal will make Codeception run just the `ItemCountTest` in debug mode. This way we can see exactly WPGraphQL returns for our query.
![test failure results](2-local-testing/image-05.png)
Run the test will result in the error above. **Cannot query field "itemCount" on type "Cart".** The error is quite easy to understand. We cannot query a field that doesn't exist and it doesn't exist because we haven't created it yet.
Running the test will result in the error above. **Cannot query field "itemCount" on type "Cart".** The error is quite easy to understand. We cannot query a field that doesn't yet exist.
## Implementing our changes