Skip to content

Commit 73e9741

Browse files
committed
Merge pull request GoogleCloudPlatform#188 from GoogleCloudPlatform/datastore
Use key name in Datastore snippet.
2 parents a39ad62 + d9baf90 commit 73e9741

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appengine/datastore/src/test/java/com/example/appengine/EntitiesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void kindExample_writesEntity() throws Exception {
7272
// [START kind_example]
7373
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
7474

75-
Entity employee = new Entity("Employee");
75+
Entity employee = new Entity("Employee", "asalieri");
7676
employee.setProperty("firstName", "Antonio");
7777
employee.setProperty("lastName", "Salieri");
7878
employee.setProperty("hireDate", new Date());

0 commit comments

Comments
 (0)